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

Deletes a message definition. You can't restore a deleted definition. The deleted definition is archived, and a delete location of the definition key is provided in the response for reference. You can reuse a deleted definition key because the information associated with it is copied to a new unique identifier.

URL Parameters

NameTypeDescription
definitionKeystringRequiredUnique identifier of the definition.

Responses

StatusNameTypeDescription
200  Send definition is updated on server. Review example response.
 requestIdstringThe unique identifier of this request.
 messagestringSuccess
 deletedDefinitionKeystringNew value of the definition key for referencing the deleted definition.

Example Request

Example Response

HTTP Responses

ResponseReason
200 OKSend definition is updated on server. Review example response.
400 Bad RequestInvalid request
403 ForbiddenFailed to pass authorization.
404 Not FoundSend definition doesn’t exist.
500 Server ErrorInternal error