Update a column
PATCH
/boards/{board}/columns/{column}
const url = 'https://projects.work.optidata.cloud/api/boards/1/columns/1';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"In review","color":"#f59e0b"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://projects.work.optidata.cloud/api/boards/1/columns/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "In review", "color": "#f59e0b" }'Updates the column’s name, description, icon or color. Requires edit permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”board
required
integer
Board id.
column
required
integer
Column id (must belong to the board).
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
description
string | null
icon
string | null
color
string | null
Example
{ "name": "In review", "color": "#f59e0b"}Responses
Section titled “ Responses ”The updated column.
Media typeapplication/json
A task list within a board.
object
id
integer
board_id
integer
name
string
description
string | null
icon
string | null
color
Column accent color (fixed palette).
string | null
order
Position within the board.
integer
sort_order
Sticky automatic card sort applied to this column, when set.
string | null
archived_at
string | null format: date-time
created_at
string format: date-time
updated_at
string format: date-time
deleted_at
string | null format: date-time
Example
{ "color": "#ef4444"}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." ] }}