Skip to main content

Switch workspace

Switch workspace

Request Body — REQUIRED
workspaceId string — REQUIRED
Responses
200

Successful response

Schema — OPTIONAL
id string
role string
username string
nickname
avatar
email
createdAt string
updatedAt string
deletedAt
currentWorkspaceId
workspaces object[]
role string
workspace object
id string
name string
settings object
paused boolean
400

Invalid input data

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string