Skip to main content
DELETE
/
dnc
/
communication-opt-outs
Delete a communication opt-out
curl --request DELETE \
  --url https://api.altahq.com/v1/dnc/communication-opt-outs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifier": "<string>"
}
'
{
  "error": "Unauthorized",
  "message": "Invalid API token"
}

Authorizations

Authorization
string
header
required

API token authentication. Generate a token from the Alta dashboard and pass it as a Bearer token in the Authorization header.

Body

application/json
identifier
string
required

The identifier value to remove from the DNC list.

identifierType
enum<string>
required

The type of the identifier.

Available options:
email,
linkedin,
phone,
sms,
whatsapp,
web_chat

Response

Identifier removed from the DNC list successfully