v1
latestOpenAPI 3.0.12026-08-064278250.7 KBworkspaces
Update a workspace
Update the editable details of an existing workspace: company name, display name, notifications level, and the user and device limits. The workspace is identified by the workspace header. This is a full update: fields that are omitted are reset to their defaults, and omitting both maxProtectedUsers and maxDevicesLimit makes the workspace unlimited. The maxDevicesLimit cannot exceed 3x the effective user limit, and maxProtectedUsers cannot be lowered below the number of users currently protected in the workspace.
patch/v1/workspaces
Headers
Workspacestring required
The workspace identifier, which isolates API requests inside the provided workspace scope.
Request body
Example request
{
"companyName": "Company Name",
"displayName": "Child workspace",
"notificationsLevel": "all",
"enableLimits": true,
"maxProtectedUsers": 25,
"overCapacityAllowance": 10,
"maxDevicesLimit": 25
}Response
Success
Example response
{
"id": "corodevonmicrosoftcom_EZ90_b",
"companyName": "Company Name",
"displayName": "Child workspace",
"type": "child",
"domain": "child-workspace.com",
"maxProtectedUsers": 25,
"overCapacityAllowance": 0.1,
"maxDevicesLimit": 25,
"limited": true,
"notificationsLevel": "none",
"parentWorkspaceId": "coroparent_123",
"lastAdminLoginTime": 1693562400000,
"workspaceCreationTime": 1641009600000,
"workspaceCreationType": "direct"
}