Skip to content

Update a custom field definition

PATCH
/boards/{board}/custom-fields/definitions/{definition}
curl --request PATCH \
--url https://projects.work.optidata.cloud/api/boards/1/custom-fields/definitions/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "Business priority", "is_required": true }'

Updates the definition’s name, description, config, required flag or active flag. The field type (and board_id) cannot be changed — sending them returns 422.

board
required
integer

Board id.

definition
required
integer

Custom field definition id.

Media typeapplication/json

Partial update. type and board_id are immutable (sending them fails validation).

object
name
string
>= 1 characters <= 60 characters
description
string | null
<= 250 characters
config
object | null
is_required
boolean
is_active
boolean
Example
{
"name": "Business priority",
"is_required": true
}

The updated definition.

Media typeapplication/json

Definition of a custom field. board_id null (and is_global true) means tenant-wide.

object
id
integer
board_id
integer | null
name
string
>= 1 characters <= 60 characters
type
string
Allowed values: text number select checkbox date person
description
string | null
<= 250 characters
config

Type-specific configuration. Examples — text: {multiline, max_length, placeholder, default_value}; select: {options: [{id, label, color}]}; checkbox: {default_value}.

object | null
order
integer
is_required

Required fields block card interactions (comments, files, timers) until filled.

boolean
is_active
boolean
is_global
boolean
created_at
string format: date-time
updated_at
string format: date-time
deleted_at
string | null format: date-time
Example
{
"type": "text"
}

Missing, invalid or expired bearer passport.

Media typeapplication/json
object
error
string
Example
{
"error": "JWT passport exception: Missing bearer token in request"
}

The authenticated user lacks the required board permission.

Media typeapplication/json
object
message
string
Example
{
"message": "This action is unauthorized."
}

Resource not found, or a nested resource does not belong to its parent in the path.

Media typeapplication/json
object
message
string
Example
{
"message": "Not found."
}

Validation failed.

Media typeapplication/json
object
message

First validation error message.

string
errors

Map of field name → list of error messages.

object
key
additional properties
Array<string>
Example
{
"message": "The name field is required.",
"errors": {
"name": [
"The name field is required."
]
}
}