Delete a specific User Defined Message Subscription.

DELETE /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json

Subscription for server-side application access to messages sent from the Voice SDK for an active Call.

Delete a specific User Defined Message Subscription.

Path parameters

  • AccountSid string Required

    The SID of the Account that subscribed to the User Defined Messages.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

  • CallSid string Required

    The SID of the Call the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CA[0-9a-fA-F]{32}$.

  • Sid string Required

    The SID that uniquely identifies this User Defined Message Subscription.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZY[0-9a-fA-F]{32}$.

Responses

  • 204

    The resource was deleted successfully.

DELETE /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json
curl \
 --request DELETE 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json' \
 --user "username:password"