Skip to main content

Workspaces API

Version: 1.0

List user workspaces

GET
/workspace/admin/orgs/{org_id}/users/{user_id}/workspaces

Returns a list of all workspaces that a specified user has a role i. 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
user_iduuid
Required
Query parameters
Default: 20

The maximum number of results to return. Limits over 100 are deprecated and will eventually not be supported.

The (zero-based) offset of the first item returned in the collection.

An optional comma separated list of fields to sort the results by. Options are: name, -name, created_at, -created_at, updated_at, -updated_at, user_role, -user_role.

An optional, comma-separated list of fields by which to order the results. Each field could be prefixed with an order operator: asc: for ascending order or desc: for descending order, default is ascending order. The sortable fields are: name, created_at, updated_at, and user_role.

Filter by workspace that a user has created, by user ID.

Filter by the time workspace has created.

Filter by the latest time workspace was updated.

Filter by workspace name.

Filter by workspace name.

Include workspaces that have been deleted.

Responses

200

Successful Response

countinteger
firsturi
lasturi
nextstring | null
previousstring | null
totalinteger
bounding_boxobject | null
created_atdate-time
emailstring | null
iduuid
namestring | null
default_coordinate_systemstring
descriptionstring
iduuid
labelsstring[]
Default: []
ml_enabledboolean

The name of the workspace, unique within an organization and hub

self_linkuri
updated_atdate-time
emailstring | null
iduuid
namestring | null
user_role"owner" | "editor" | "viewer"

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