Delete Message Media
Deletes one MMS attachment from a message. Media cannot be deleted while the parent message is in initiated or queued status. This removes the attachment without deleting the message itself.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging.
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Path parameters
AccountSid
The unique identifier of the project that sent or received this message.
MessageSid
A unique ID that identifies this specific message.
Sid
A unique ID that identifies this specific message.
Response
204 No Content response.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error