Delete a trigger subscription Beta
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_idstringrequiredsubscription_idstringrequiredscalekit_client.actions.triggers.delete_subscription
Delete one trigger subscription. Retried on UNAVAILABLE, so a ScalekitNotFoundException can also mean an earlier attempt of this same call already deleted it.
scalekit_client.actions.triggers.delete_subscription( connection_id: str, subscription_id: str,) -> NoneParameters
connection_idstrrequiredconn_...).subscription_idstrrequiredtrgs_...).Returns None.
From scalekit-sdk-python 2.23.0.
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 ID404Not found - no subscription with this ID exists on this connection in this environment, or Triggers isn't turned on for your environment500Internal error - the subscription could not be deleted; retry the request