Set case spaces

Replace the spaces of an existing case with the complete list in space_slugs. Send an empty list to move the case to Main Workspace. Retained spaces keep their order and new spaces are appended in request order.

If the assignee would lose access, the request returns a conflict and leaves the case as is. Send the same list with force: true to apply the change and clear the assignee.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Set the spaces of a case by its Dotfile internal id first and if not found, by its external_id.

Body Params
space_slugs
array of strings, unique
required

The complete list of spaces the case should belong to. Each slug must identify a space in your workspace. Pass an empty array to move the case to Main Workspace.

space_slugs*
boolean
Defaults to false

Allow the assignee to be cleared if the new space list would take away their access to the case.

Responses

400

The request is either malformed or contain invalid parameters.

  • Make sure the body payload matches the expected schema
  • A space slug is unknown in your workspace (space_slug_not_found)
404

No case can be found.

409

The change would unassign the case (space_move_would_unassign_cases). Resend with force: true to confirm.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json