Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Delete a trigger subscription Beta

DELETE/api/v1/connections/{connection_id}/trigger-subscriptions/{subscription_id}

This endpoint is in beta. Its request and response may change.

Deletes a trigger subscription, so the account or connection stops receiving the trigger. A polling subscription stops polling. An event already on its way to your endpoint is still delivered. To receive the trigger again, create a new subscription.

Authorization

Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.

Path parameters

connection_idstringrequired
ID of the connection, in this environment. Up to 64 characters.
subscription_idstringrequired
ID of the trigger subscription to delete. It must belong to the connection named in the path.

Errors

Every error has the same body: code, message and details. See Errors and rate limits.

400Invalid request - connection_id is not a valid connection ID, or subscription_id is not a valid trigger subscription ID
404Not found - no subscription with this ID exists on this connection in this environment, or Triggers isn't turned on for your environment
500Internal error - the subscription could not be deleted; retry the request