Skip to main content

Workspaces API

Version: 1.0

Bulk assign roles

POST
/workspace/admin/orgs/{org_id}/action/bulk_assign_roles

Assign multiple users a role in a workspace in a single request. Admin endpoints allow organization admin users to access any workspace, regardless of their role or lack thereof within the workspace.

Request

Path parameters
org_iduuid
Required
Body parameters
Required
role"owner" | "editor" | "viewer"
user_iduuid
workspace_iduuid

Responses

200

Successful Response

undefinedunknown

401

No permission -- see authorization schemes

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

403

Request forbidden -- authorization will not help

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

404

Resource not found or user lacks access

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

405

Specified method is invalid for this resource

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

422

Unprocessable Entity

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

© Seequent, The Bentley Subsurface Company