Update Workspace
Update workspace details and settings.
Quick Navigation
Endpoint
PUT /api/v1/workspaces/{workspace_id}
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspace_id | integer | Yes | Workspace ID |
Request Body
{
"name": "Updated Workspace Name",
"settings": {
"allow_public_access": false
}
}
Response
Success (200)
{
"success": true,
"data": {
"workspace": {
"id": 1,
"name": "Updated Workspace Name",
"updated_at": "2024-01-01T17:00:00Z"
},
"message": "Workspace updated successfully"
},
"message": "Workspace updated successfully"
}
Features
- Workspace updates
- Settings modification
- Permission validation
Status
[WARNING] TODO: Not Implemented
This endpoint is defined in the router but the implementation logic is not yet complete.