POST /v1/contacts/{id}/identifiers/{identifierId}/unlink
POST
/v1/contacts/{id}/identifiers/{identifierId}/unlink
const url = 'https://seu-endereco-da-api/v1/contacts/example/identifiers/example/unlink';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"example","acknowledgeUnreachable":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://seu-endereco-da-api/v1/contacts/example/identifiers/example/unlink \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "example", "acknowledgeUnreachable": true }'Permissão que a Chave de acesso precisa: Unir contatos duplicados (contacts:merge).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
identifierId
required
string
Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
acknowledgeUnreachable
boolean
Example generated
{ "reason": "example", "acknowledgeUnreachable": true}Responses
Seção intitulada “Responses”Media typeapplication/json
object
identifierId
required
string
kind
required
string
value
required
string
contactStillReachable
required
False when the contact was left with no active identifier and can no longer be addressed
boolean
cancelledCampaignRecipients
required
Campaign sends still pending at the released number, cancelled so they never reach its new owner
number
Example generated
{ "identifierId": "example", "kind": "example", "value": "example", "contactStillReachable": true, "cancelledCampaignRecipients": 1}Last active identifier; confirm with acknowledgeUnreachable