Deletes the queue for a send definition. The send definition must be inactive.
URL Parameters
| Name | Type | Description |
|---|---|---|
| definitionKey | string | Required. Unique identifier of the definition. |
Usage
In your DELETE request, include the definition key in the URL path.
Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
DELETE /messaging/v1/sms/definitions/DEFINITION_KEY/queue
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN
If the request is successful, the API returns a request ID and the status of the request.
HTTP/1.1 200 OK
{
"requestId":"bf27b84b-72e8-4244-8bdb-93e5de5fc7d8",
"message":"Queued"
}