PATCH
/
broadcasts
/
unsubscribe
/
{broadcastId}
/
{contactId}
curl --request PATCH \
  --url https://api.amisend.com/broadcasts/unsubscribe/{broadcastId}/{contactId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Contact unsubscribed successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

broadcastId
string
required

ID of the broadcast

contactId
string
required

ID of the contact

Response

200
application/json

Contact unsubscribed successfully

The response is of type object.