Open Context Protocol is live! 🚀 Read the launch post
deleteUserDefinedMessageSubscription

deleteUserDefinedMessageSubscription

Delete a specific User Defined Message Subscription.

Details

  • Method: DELETE
  • Path: /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json
  • Operation ID: DeleteUserDefinedMessageSubscription

Parameters

{
  "AccountSid": {
    "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "CallSid": {
    "description": "The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "Sid": {
    "description": "The SID that uniquely identifies this User Defined Message Subscription.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('twilio')

# Call this tool
result = await agent.call_tool('deleteUserDefinedMessageSubscription', {
    # Add required parameters here
})