Deprecated APIs

Delete a webhook subscription

Delete one of the caller's subscriptions by id. Returns 204 on success, 404 if the id is not one of the caller's subscriptions.

DELETE
/v1/webhooks/subscriptions/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key for authentication.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X DELETE "https://api.staging.across.to/v1/webhooks/subscriptions/whsub_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d"
Empty
{
  "error": "UnauthorizedError",
  "message": "A valid Authorization: Bearer <apiKey> header is required."
}
{
  "error": "NotFoundError",
  "message": "Subscription not found."
}