GET {{baseUrl}}/workspaces-roles
Gets information about all roles in a workspace, based on the team's [plan]
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"roles": {
"user": [
{
"id": 3,
"displayName": "Admin",
"description": "Can manage workspace details and members."
},
{
"id": 1,
"displayName": "Viewer",
"description": "Can view, fork, and export workspace resources."
},
{
"id": 2,
"displayName": "Editor",
"description": "Can create and edit workspace resources."
}
],
"usergroup": [
{
"id": 3,
"displayName": "Admin",
"description": "Can manage workspace details and members."
},
{
"id": 1,
"displayName": "Viewer",
"description": "Can view, fork, and export workspace resources."
},
{
"id": 2,
"displayName": "Editor",
"description": "Can create and edit workspace resources."
}
]
}
} |
ENDPOINTS