try out ↗

← API Index


/api/admin/kanban/state/update

Updates color and sorting of a ticket state, identified by name and board_id

Parameters

Name Description Type
name state name (required, identifies) string
board_id board id (required, identifies) int
color new display color (hex or CSS name), default #999999 string
sorting new display order within the board, lower = first int
oo-rf optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml String
oo-auth optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized. int

Error Responses

HTTP Status Error Code Description
400 parameter_error Missing or invalid parameters

Response Types

Type Version Description
TicketResult 1 Result of a ticket/kanban mutation (board, state, ticket or detail operation)

OpenAPI

See update.yaml

Referenced in skills