Message Media

Delete Message Media

Changed on

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.

delete/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}

Request

  • Base URL
    https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
  • URL
    https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}
  • Auth
    HTTP basic

Path parameters

AccountSidstring uuid required

Universal Unique Identifier.

The unique identifier of the project that sent or received this message.

MessageSidstring uuid required

Universal Unique Identifier.

A unique ID that identifies this specific message.

Sidstring uuid required

Universal Unique Identifier.

A unique ID that identifies this specific message.

Response

204 No Content response.

Changes

    • info

      added 'unevaluatedProperties' constraint to the response body for the status

    • info

      added 'unevaluatedProperties' constraint to the response body for the status

    • info

      added 'unevaluatedProperties' constraint to the response body for the status

    • info

      added 'unevaluatedProperties' constraint to the response body for the status

    • info

      api tag Message Media added

    • info

      api tag Media removed