Update a Custom Field

​

Updates a custom field

Path Parameters

  • the custom field primary key

Headers

  • application/json

Body·

application/json

Update payload for a custom field definition. object_ref is not included — the assigned data level is immutable after creation.

  • Properties: 3

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for put/custom_fields/{id}
curl https://api-staging.sparkfly.com/v1.0/custom_fields/1 \
  --request PUT \
  --header 'Content-Type: application/json' \
  --header 'X-Auth-Token: YOUR_SECRET_TOKEN' \
  --data '{
  "custom_field": {
    "key": "",
    "label": "",
    "active": true
  }
}'
{
  "custom_field": {
    "id": 1,
    "key": "string",
    "label": "string",
    "object_ref": "string",
    "active": true,
    "created_at": "2026-11-12T04:01:00.828Z",
    "updated_at": "2026-11-12T04:01:00.828Z"
  }
}