workspace

List the workspace's roles

Changed on

The roles members of this workspace can hold, as they apply here (instance definition with the workspace's override applied, then workspace-only roles), the stored overrides, and the caller's own role and capabilities.

get/w/{workspace}/workspaces/roles

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/workspaces/roles
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Response

workspace roles

overridesRoleOverrides required

A workspace's overrides keyed by role name; a name the instance does not define adds a workspace-only role (EE).

custom_roles_enabledboolean required

Whether this workspace may add roles of its own.

my_rolestring nullable

Changes