Delete subscription (soft + auto-disable)
Overview
Soft-delete the subscription (sets deleted_at) and force is_active=false in one transaction. This way any already-queued retry attempts exit silently. Delivery-log rows are retained. Soft-deleting frees the delivery_kind slot, so a new subscription of the same kind can be created afterward. No request body required.
Prerequisites
- A bearer token. Callable with Partner tokens.
- The
webhookSubscriptionIdof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
DELETE /api/v1/partner/webhooks/{webhookSubscriptionId}
Authentication
- Requires a bearer token in the
Authorization: Bearer <bearer-token>header. - Who can call it: Partner tokens.
findCallerSubscriptionenforcesbundle_id === 1and scopes bypartner_company_id(404 if not owned).
Rate limit
- No rate limit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
webhookSubscriptionId | integer | Required | Digits only. |
Request
- No body.
Response
data.data.subscription_id(int)data.data.status(string) —deleted
200 Success · 200
200{ "data": { "data": {
"subscription_id": 2,
"status": "deleted"
} } }Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
404 | Returned if not owned |
500 | Unexpected server error |
Example request
curl --request DELETE \
--url "https://production-api.shoutaboutus.com/api/v1/partner/webhooks/123" \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Accept: application/json'Updated 11 days ago
Did this page help you?
