Get All Workspace Roles
GET/workspaces/roles
Get all workspace roles.
Returns a list of all available workspace roles.
Returns: List[WorkspaceRoleResponse]: A list of WorkspaceRole objects representing the available workspace roles.
Raises: HTTPException: If an error occurs while retrieving the workspace roles.
Responses
- 200
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
]
role_name WorkspaceRole (string)required
Possible values: [owner
, viewer
, editor
, evaluator
, workspace_admin
, deployment_manager
]
role_descriptionobject
anyOf
string
[
{
"role_name": "owner",
"role_description": "string"
}
]
Loading...