DocsAPI ReferenceUpdate workspace
PATCH
/api/v1/workspaces/{workspace_id}Updates workspace name or settings. Settings are merged (not replaced). Requires `admin` or `owner` role.
Path Parameters
workspace_idstringrequirede.g. "aaaaaaaa-0000-0000-0000-000000000001"Workspace UUID.
Headers
X-API-KeystringrequiredYour workspace API key (admin or owner role required).
Content-TypestringrequiredMust be `application/json`.
Request Body
application/json
namestringNew workspace display name.
settingsobjectPartial settings object to merge.
Responses
200Updated workspace.
403Caller is `member` role.
404Workspace not found or not a member.
Try it live
API Configurationglobal · all endpoints
PATCH
https://api.serveka.com/api/v1/workspaces/aaaaaaaa-0000-0000-0000-000000000001Path Parameters
Request Body
curl -X PATCH 'https://api.serveka.com/api/v1/workspaces/aaaaaaaa-0000-0000-0000-000000000001' \
-H "Content-Type: application/json"\
-d '{}'