contacts
Delete contact
Permanently deletes a contact and all associated channels.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
contactIdstring
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.contacts.deleteContact({ path: { contactId: 'contact_abc123', },});console.log(data);Empty
{
"error": "Unauthorized"
}{
"error": "Not found"
}