DELETE
/
v1
/
object
/
{object_type}
/
{id}
/
subscription
/
Remove Object Subscriptions
curl --request DELETE \
  --url https://hub.suprsend.com/v1/object/{object_type}/{id}/subscription/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "recipients": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

id
string
required

Unique identifier of the object in your system

object_type
string
required

Used to group similar objects together. Give plural namespace like teams, organizations, and roles.

Query Parameters

recipients
string
required

List of recipients to be notified. Provide recipient IDs as a comma-separated list (e.g., id1,id2,id3).

Body

application/json
recipients
array

List of recipients to be notified. You can either add recipient as array of distinct_ids or array of recipient objects. You can add up to 100 recipients in a single API.

Response

204 - No Content