Cancel a message dispatch

DELETE /v1/api/dispatch/{dispatchId}

Allows cancellation of a scheduled message dispatch. A dispatch can only be cancelled up to 5 minutes before the scheduled date and time. Immediate dispatches cannot be cancelled.

Responses

  • Dispatch successfully cancelled

  • The dispatch cannot be cancelled because the scheduled time has passed or is within the allowed cancellation window of 5 minutes.

  • Unauthorized

  • Forbidden

  • Bad Request

  • Internal Server Error

DELETE /v1/api/dispatch/{dispatchId}
curl \
 --request DELETE 'https://api.nifteem.com/v1/api/dispatch/{dispatchId}' \
 --header "X-API-Key: $API_KEY"