custom fields
Delete custom field
Delete a custom field definition and remove its values from all contacts.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
fieldIdstring
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.customfields.deleteCustomField({ path: { fieldId: 'field_abc123', },});console.log(data);Empty
{
"error": "Unauthorized"
}{
"error": "Not found"
}