DELETE
/api/v1/webhooks/subscriptions/{subscription_id}
Auth: Bearer token
Delete Subscription
Removes an existing webhook subscription.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| subscription_id | string | Yes | Webhook subscription identifier. |
Example response
<?php
return [
'success' => true,
'data' => [
'deleted' => true,
'subscription_id' => 'wh_22'
]
];
Request examples
curl -X DELETE \
"https://api.spaces.za.com/api/v1/webhooks/subscriptions/wh_22" \
-H "Authorization: Bearer <token>" \\