DELETE
/
audience
/
{id}
/
members
Delete audience members
curl --request DELETE \
  --url https://atoms-api.smallest.ai/api/v1/audience/{id}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "memberIds": [
    "60d0fe4f5311236168a109cd"
  ]
}'
{
  "status": true,
  "data": {
    "deletedCount": 3
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the audience

Example:

"60d0fe4f5311236168a109ca"

Body

application/json

Response

200
application/json

Members deleted successfully

The response is of type object.