Update an Event for a Subscription
Event subscribed to in the parent subscription
Update an Event for a Subscription.
Path parameters
-
The unique SID identifier of the Subscription.
-
Type of event being subscribed to.
Body
-
SchemaVersion integer
The schema version that the subscription should use.
POST /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type}
curl \
-X POST https://events.twilio.com/v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'SchemaVersion=42'
Request example
{
"SchemaVersion": 42
}
Request examples
{
"SchemaVersion": 42
}
Response examples (200)
{
"account_sid": "string",
"schema_version": 42,
"subscription_sid": "string",
"type": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"schema_version": 42,
"subscription_sid": "string",
"type": "string",
"url": "https://example.com"
}