Skip to main content

DELETE Subscription Event

Use this endpoint to programmatically delete a calendar subscription event.

Description#

This API endpoint will delete an event and update all calendar subscriptions that subscribe to this event. Associated Google subscriptions will be synced. The response of 202 Accepted indicates that the response was successfully validated and has been accepted for processing. Events are deleted in a background process, and it can take a few minutes for changes to propagate to subscribers' calendars.

Request#

Path

DELETE /v1/subscriptionevent/{accountCode}/{eventId}

Parameters

NameTypeInDescriptionRequired
accountCodeStringpathThe Rokt Calendar merchant account code, or the subdomain of your Rokt Calendar dashboard URL.true
eventIdStringpathA unique identifier for the event.true

Response#

202 Accepted

Error#

400 BadRequest

500 InternalServerError

Was this article helpful?