Skip to main content
GET
List workspace roles
Use this endpoint to list the built-in workspace roles, their permissions, and whether a platform key can assign each role. The endpoint does not return custom roles. Check assignableByCaller before you assign a role. It is the source of truth. A key can assign only builtin.workspace.restricted_member and builtin.workspace.workbench_manager. The request needs the workspace.roles.read scope.

Authorizations

X-API-Key
string
header
required

Platform key, for example abl_ws_….

Path Parameters

workspaceId
string
required
Minimum string length: 1

Response

Success

success
enum<boolean>
required
Available options:
true
data
object
required