Use this endpoint to permanently delete a subscription. All address filters associated with the subscription are removed at the same time. Once deleted, the subscription ID cannot be recovered and no further events will be queued for delivery.Documentation Index
Fetch the complete documentation index at: https://docs.offthehook.dev/llms.txt
Use this file to discover all available pages before exploring further.
Request
DELETE /v1/subscriptions/:id
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer oth_YOUR_API_KEY |
Path parameters
The subscription ID to delete. Always starts with
sub_.Example request
Response
204 No Content
The response body is empty. A 204 status confirms the subscription has been deleted.
Errors
| Code | Description |
|---|---|
not_found | No subscription with the given ID exists under your API key. |
unauthorized | The Authorization header is missing or the API key is invalid. |