Update Enterprise Workspace Role

View as Markdown
Allows a workspace owner to update the default role for their workspace.

Path parameters

workspace_idintegerRequired

Request

This endpoint expects an object.
default_roleenumOptional
The role assigned to users when they auto-join this workspace. * `VIEWER` - VIEWER * `EDITOR` - EDITOR * `ADMIN` - ADMIN
Allowed values:

Response

Workspace updated successfully
idintegerRead-only
workspaceinteger
workspace_namestringRead-only
workspace_descriptionstringRead-only
default_rolestringRead-only
is_auto_generatedbooleanRead-only

If workspace was auto-generated when the domain was claimed

created_atdatetimeRead-only
members_countintegerRead-only

Errors

400
Bad Request Error