curl --request PATCH \
--url https://paradigm.lighton.ai/api/v3/instance/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deleted_at": null
}
'{
"id": 123,
"name": "<string>",
"workspace_type": "<string>",
"document_upload_method": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"files_count": 123,
"user_role": "owner",
"used_storage": 123,
"company": {
"id": 123,
"name": "<string>"
}
}Workspaces
Partially update a workspace
⚠️ ALPHA ENDPOINT - This endpoint is in alpha and subject to breaking changes. Use with caution in production environments.
Partially update a given workspace. The authenticated user must be an instance-level administrator.
Fields:
- name (string, optional): Desired workspace name
- description (string, optional): Desired workspace description. Send empty string or null to clear.
Permissions:
- Instance-level administrators (Sys Admin, Admin, Account Manager) can update any workspace across all companies
PATCH
/
api
/
v3
/
instance
/
workspaces
/
{id}
curl --request PATCH \
--url https://paradigm.lighton.ai/api/v3/instance/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deleted_at": null
}
'{
"id": 123,
"name": "<string>",
"workspace_type": "<string>",
"document_upload_method": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"files_count": 123,
"user_role": "owner",
"used_storage": 123,
"company": {
"id": 123,
"name": "<string>"
}
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Response
Workspace updated successfully
V3 Response serializer for instance-level workspace operations.