Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Move Board Objects

PUT/api/v2/workbench/boards/{boardRid}/objects/move
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Moves Foundry Objects from their current state to a different state on a Workbench Board. This operation preserves the objects' board item identifiers and edit history, allowing users to track the objects' progression through workflow states.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:workbench-write.

Path parameters

boardRid
string

The unique identifier for a Workbench Board

Query parameters

preview
boolean
optional

Enables the use of preview functionality.

Request body

MoveBoardObjectsRequest
object
Hide child attributes

Hide child attributes

objectRids
list<FoundryObjectRid>
optional

The RIDs of the Foundry Objects to move

Show child attributes

Show child attributes

stateId
string

The destination state (column) to move the objects to

Response body

EmptySuccessResponse
any

An empty response object indicating the request was successful

Examples

Request

Copied!
1 2 3 4 5 curl -X PUT \ \t-H "Content-type: application/json" \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/workbench/boards/ri.gotham-artifact.0-0.workbench-board.example/objects/move?preview=true" \ -d '{"objectRids":["ri.phonograph2-objects.main.object.48668bf6-8878-48d2-b8f8-f0017593feb5"],"stateId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}'

Error responses

Error Name
ObjectNotOnBoardError CodeNOT_FOUND
Status Code404
DescriptionOne or more objects are not on the specified board and cannot be moved.
Parameters
BoardStateNotFoundError CodeNOT_FOUND
Status Code404
DescriptionThe specified state does not exist on the board.
ParametersstateId
BoardOperationNotSupportedError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe requested operation cannot be performed on this board.
Parameters
MoveBoardObjectsPermissionDeniedError CodePERMISSION_DENIED
Status Code403
DescriptionCould not move the BoardObject.
ParametersboardRid