Remove a webhook
DELETE
/api/partner/v1/webhook-subscriptions/{subscription_id}The owner of the same OAuth connection can remove this subscription. A delivery already in progress may still arrive.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
subscription_idpath · required · stringID returned by Colby for this connection.
Idempotency-Keyheader · required · stringOne key per intended change within this OAuth connection. Reuse only with the original method, path, query and JSON body.
Responses
200 · Removed subscription A replay may return the saved request receipt.
Response headers include X-Request-Id.
application/json
Format 1
idstring · required
Format 2
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"id": "hook_example"
}202 · Operation receipt on retry. Inspect http_status and fetch the current resource.
Response headers include X-Request-Id.
application/json
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
400 · Invalid input. Correct the request and use a new key for changed input.
application/json
errorstring · requireddetailstringrequest_idstring
401 · Missing, expired, revoked or wrong-resource access token.
application/json
errorstring · requireddetailstringrequest_idstring
403 · The signed account or role lacks access to this operation.
application/json
errorstring · requireddetailstringrequest_idstring
404 · The resource is unknown or outside this account.
application/json
errorstring · requireddetailstringrequest_idstring
409 · Resource state or idempotency conflict.
application/json
errorstring · requireddetailstringrequest_idstring
429 · Rate limit reached. Back off and retry.
application/json
errorstring · requireddetailstringrequest_idstring
503 · Service or provider unavailable. Check the operation receipt before retrying a write.
application/json
errorstring · requireddetailstringrequest_idstring
