/workspaces/switch
Switch the current workspace.
Overview
| Field | Value |
|---|---|
| Method | POST |
| Path | /workspaces/switch |
Request Body
{
"workspaceUuid": "YOUR_WORKSPACE_UUID"
}cURL Example
curl -X POST http://127.0.0.1:{port}/api/local/workspaces/switch
-H "Content-Type: application/json"
-H "sp-api-key: YOUR_LOCAL_API_KEY"
-d '{
"workspaceUuid": "YOUR_WORKSPACE_UUID"
}'