Switch the current session's Workspace
Switch the current session's Workspace
PUT
/api/v1/auth/session/workspaceRevokes the current browser session and creates a new one scoped to a different Workspace the caller actively belongs to, rotating the bearer and CSRF secrets. There is no in-place reauthorization of the existing session onto a new scope.
Header Parameters
Request Body
Responses
Cache-Control
string·const no-storePrevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200Correlation identifier for the request.
X-Content-Type-Options
string·const nosniffPrevents user agents from MIME-sniffing the response.
Retry-After
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
Cache-Control
string·const no-storePrevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200Correlation identifier for the request.
X-Content-Type-Options
string·const nosniffPrevents user agents from MIME-sniffing the response.