Custom Fields
Delete a custom field
Permanently delete a custom field definition and remove its values from all contacts.
DELETE /v1/custom-fields/{customFieldId}
Parameters
Path parameters
customFieldId
string required
Responses
200 — Successful response
Content-Type: application/json
error
boolean required
message
string required
Example
{
"error": false,
"message": "string"
}
400
No response body.
401
No response body.
403
No response body.
404
No response body.
429
No response body.
500
No response body.
Code samples
curl https://api.prod.getdex.com/v1/custom-fields/string \
--request DELETE \
--header 'Authorization: Bearer YOUR_API_KEY'
fetch('https://api.prod.getdex.com/v1/custom-fields/string', {
method: 'DELETE',
headers: {
Authorization: 'Bearer YOUR_API_KEY'
}
})
requests.delete(
"https://api.prod.getdex.com/v1/custom-fields/string",
headers={
"Authorization": "Bearer YOUR_API_KEY"
}
)

