v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Workspaces

Update workspace ACL

patch/api/v2/workspaces/{workspace}/acl

Path parameters

workspacestring uuid required

Workspace ID

Request body

group_rolesobject

GroupRoles is a mapping from valid group UUIDs to the workspace role they should be granted. To remove a group from the workspace, use "" as the role (available as a constant named codersdk.WorkspaceRoleDeleted)

user_rolesobject

UserRoles is a mapping from valid user UUIDs to the workspace role they should be granted. To remove a user from the workspace, use "" as the role (available as a constant named codersdk.WorkspaceRoleDeleted)

Response

No Content