Skip to main content

Workspaces API

Version: 1.0

Assign user role

POST
/workspace/admin/orgs/{org_id}/workspaces/{workspace_id}/users

Assigns a user a role in a workspace. Admin endpoints allow organization admin users to access any workspace, regardless of their role or lack thereof within the workspace.

Request

Path parameters
workspace_iduuid
Required
org_iduuid
Required

Responses

201

Successful Response

role"owner" | "editor" | "viewer"
user_iduuid

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

410

Resource is gone

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

422

Unprocessable Entity

detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring

© Seequent, The Bentley Subsurface Company