Topics
Subscribers removal
Remove subscribers from a topic
POST
/v1/topics/{topicKey}/subscribers/removal
Authorization*
curl --request POST \
--url https://api.novu.co/v1/topics/{topicKey}/subscribers/removal \
--header 'Authorization: ApiKey' \
--header 'Content-Type: application/json' \
--data '{
"subscribers": []
}'
Please ensure there is a space between ApiKey
and your Api key.
E.g ApiKey 18d2e625f05d80e
Path Parameters
topicKeyrequired
string
Body
application/json
subscribersrequired
string[]
List of subscriber identifiers that will be removed to the topic
Response
204
curl --request POST \
--url https://api.novu.co/v1/topics/{topicKey}/subscribers/removal \
--header 'Authorization: ApiKey' \
--header 'Content-Type: application/json' \
--data '{
"subscribers": []
}'