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.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
The unique identifier of the project that sent or received this message.
Universal Unique Identifier.
A unique ID that identifies this specific message.
Universal Unique Identifier.
A unique ID that identifies this specific message.
Response
204 No Content response.
Changes
Changed in 5 of the 40 revisions of this API.310
- ○
added 'unevaluatedProperties' constraint to the response body for the status
400response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
401response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
404response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
422response-body-unevaluated-properties-added
- ○
- ○
api tag
Message Mediaaddedapi-tag-added
- ○
api tag
Mediaremovedapi-tag-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ○
added the non-success response with the status
422response-non-success-status-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added the new path request parameter
AccountSidnew-request-path-parameter
- ▲
added the new path request parameter
MessageSidnew-request-path-parameter
- ▲
added the new path request parameter
Sidnew-request-path-parameter
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲