Boards API¶
Board-level mutation methods live under client.boards. Project-level board list/create/reorder methods are under client.projects.
update()¶
Calls PATCH /boards/{board} and requires boards:write.
const board = await client.boards.update(boardId, {
name: 'Security Review',
color: '#7c3aed',
wipLimit: 8,
isDone: false,
isHidden: false,
});
Supported OpenAPI fields are:
name, maximum 120 characters;color, nullable, maximum 32 characters;wipLimit, nullable, minimum 1;isDone;isHidden.
delete()¶
Calls DELETE /boards/{board} and requires boards:write.
Without a body:
When tickets must move before deletion:
The server can return 422 for an invalid target or when the move would violate a WIP limit. The SDK does not retry this write automatically.