Delete topic subscriptions
Delete subscriptions for subscriberIds for a topic.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequiredsubscriberIdsDeprecatedarray<string>List of subscriber identifiers to unsubscribe from the topic (max: 100). @deprecated Use the "subscriptions" property instead.
subscriptionsarray<string | object>List of subscriptions to unsubscribe from the topic (max: 100). Can be either a string array of subscriber IDs or an array of objects with identifier and/or subscriberId. If only subscriberId is provided, all subscriptions for that subscriber within the topic will be deleted.
Path Parameters
topicKeyRequiredstringThe key identifier of the topic
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
Subscriptions deleted successfully
dataRequiredarray<object>The list of successfully deleted subscriptions
metaRequiredobjectMetadata about the operation
errorsarray<object>The list of errors for failed deletion attempts