DELETE
/
audiences
/
{id}
curl --request DELETE \
  --url https://api.amisend.com/audiences/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Audience deleted"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the audience

Response

201
application/json

Audience deleted successfully

The response is of type object.