Cancel a trigger
Cancel a trigger by sending a DELETE request to /cancel with either ttr-trigger-idheader or ttr-custom-keyheader.
Request headers
| Header | Required | Description |
|---|---|---|
ttr-api-keyheader | Yes | Your API key |
ttr-trigger-idheader | One of these | The trigger ID to cancel |
ttr-custom-keyheader | One of these | The custom key of the trigger to cancel |
Provide exactly one of ttr-trigger-idheader or ttr-custom-keyheader, not both.
Status codes
| Status code | Meaning |
|---|---|
| 200OK | Trigger cancelled successfully |
| 400Bad Request | Bad request (missing or conflicting identifiers) |
| 401Unauthorized | Invalid API key |
| 404Not Found | Trigger not found |
| 410Gone | Trigger already executed or cancelled |