delete https://api.roktcalendar.com/subscription///
Use the API to programmatically disable one or more subscriptions from receiving events in the future.
The Deactivate Subscription API function disables a subscription from receiving any events in the future. Once a subscription has been deactivated, any new events published will not appear in their calendar.
You can either specify an individual subscription to deactivate or all subscriptions that belong to a username for a calendar.
This API function is protected by OAuth and must include an Access Token token in the same way it is required to create a subscription.
Deactivate Subscription Parameters
Parameter | Type | Description |
---|---|---|
id Optional | UUID/GUID | Id of subscription to deactivate |
username Optional | String | The username to deactivate all subscriptions for |