Unlink the WhatsApp number
DELETE
/v1/auth/me/whatsapp
const url = 'https://api.emite.cr/v1/auth/me/whatsapp';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.emite.cr/v1/auth/me/whatsapp \ --header 'Authorization: Bearer <token>'Removes the link of the person, pending or verified: the number stops receiving notifications and is no longer recognized as the person, and its open WhatsApp conversation is closed. 404 WHATSAPP_LINK_NOT_FOUND without a link. For a person’s session (JWT) only: an API key answers 403.