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 [
]
role_name WorkspaceRole (string)required
Possible values: [owner
, viewer
, editor
, evaluator
, workspace_admin
, deployment_manager
]
An enumeration.
role_description Role Description (string)
[
{
"role_name": "owner",
"role_description": "string"
}
]
Loading...