v1

latestOpenAPI 3.0.3agpl2026-07-1715891.6 KB
workspace

Edit workspace name, color and quota

patch/ocs/v2.php/apps/workspace/api/v1/spaces/{id}

Path parameters

idinteger required

Represents the ID of a workspace

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

namestring nullable

Optional - Workspace name.

colorstring nullable

Optional - Workspace color in hexadecimal format (example: #f91616).

quotainteger nullable

Optional - Workspace quota in bytes; e.g., 5368709120 for 5GB, or -3 for unlimited.

Response

Workspace returned