Remove an event type from a Subscription.

DELETE /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type}

Event subscribed to in the parent Subscription

Remove an event type from a Subscription.

Path parameters

  • SubscriptionSid string Required

    The unique SID identifier of the Subscription.

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

  • Type string Required

    Type of event being subscribed to.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type}
curl \
 --request DELETE 'https://events.twilio.com/v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type}' \
 --user "username:password"