Delete a custom field

DELETE
/custom-fields/{id}

Deletes a custom field and returns it one last time. It stops appearing in the list and subsequent requests for it return 404, but the answers already recorded against it are preserved — deleting the field does not erase the values your customers gave.

Path Parameters

id*string

ID of the custom field (e.g. fld_9fKbV3aQx7).

Header Parameters

Idempotency-Key?string

Client-generated key for idempotent writes; the server deduplicates retries within a 24-hour window.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/custom-fields/string" \  -H "Easol-API-Version: 2026-11-01"
{
  "object": "custom_field",
  "id": "fld_aBcDeFgHiJ",
  "name": "string",
  "label": "string",
  "hint": "string",
  "type": "text",
  "entity": "guest",
  "options": [
    {
      "id": "string",
      "value": "string"
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}