Workspaces
Update a workspace
Rename, change mode, or change visibility. Editor or owner role required.
patch/api/workspaces/{slug}
Request
- Base URLhttps://trydock.ai
- AuthHTTP bearer
Path parameters
slugstring required
Request body
Response
Updated.
Example response
{
"workspace": {
"id": "ws_01J5Z6Q7…",
"slug": "launch-plan",
"name": "Launch plan",
"primarySurface": {
"id": "srf_01J5Z…",
"slug": "table"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.