Tone docs
API referenceCampaigns

Remove every recipient — replacing the list

Clears the list so you can upload a different one. Only meaningful while the campaign is still a draft.

Requires the write scope. A key with less gets 403 insufficient_scope.

DELETE
/v1/campaigns/{id}/recipients
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Path Parameters

id*string

The campaign's id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/campaigns/string/recipients"
{  "data": {    "removed": 0  }}
Was this page helpful?