Authentication & Scope
Requires theworkspaces-write ability.
Request
Path Parameters
Body Parameters
Response
200 OK – The updated workspace.
404 Not Found – Workspace does not exist or you don’t have access.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update a workspace’s name or icon.
workspaces-write ability.
PUT /workspaces/1 HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Updated Name",
"icon": "📈"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | New name for the workspace |
icon | string | No | New emoji or icon |
200 OK – The updated workspace.
{
"id": 1,
"name": "Updated Name",
"icon": "📈",
"settings": {},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-16T09:00:00Z"
}
404 Not Found – Workspace does not exist or you don’t have access.