DELETE /messaging/v1/sms/definitions/{definitionKey}/queue

Deletes the queue for a send definition. The send definition must be inactive.

URL Parameters 

NameTypeDescription
definitionKeystringRequired. Unique identifier of the definition.

Usage 

In your DELETE request, include the definition key in the URL path.

1Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
2DELETE /messaging/v1/sms/definitions/DEFINITION_KEY/queue
3Content-Type: application/json
4Authorization: Bearer YOUR_ACCESS_TOKEN

If the request is successful, the API returns a request ID and the status of the request.

1HTTP/1.1 200 OK
2{
3  "requestId":"bf27b84b-72e8-4244-8bdb-93e5de5fc7d8",
4  "message":"Queued"
5}

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!