External API
Delete custom fields
Delete custom fields from your teamspace, with every value stored in them.
Deletes custom fields you no longer need from your teamspace – for example, a field you replaced with a new one. This works for People fields and Conversation fields. Not sure how to send a request? See Make your first request.
Important: deleting a field also deletes its value on every customer and every conversation. You can’t undo it.
Request
Send a DELETE request to:
https://v3-api.proto.cx/api/platform/v1/custom-fields/YOUR_TEAMSPACE_ID/delete-custom-fields
In the body, list the fields to delete. In the address and the body, replace anything starting with YOUR_ with your own:
{
"ids": ["YOUR_FIELD_ID"]
}
| Field | Required | What it is |
|---|---|---|
ids | Yes | A list of IDs of the fields to delete. Get them from List custom fields. |
Response
Proto replies 200 OK:
{ "success": true }
success is always true – even for an ID that isn’t in your teamspace.
Errors
There are no errors specific to this request.
For errors any request can return, see If something goes wrong.