[GET] List Available Roles
Use this request to retrieve the list of roles that can be assigned to external users when inviting them to join the current tenant or workspace.
Available Roles
GET
/api/v1.0/external/tenant/availableroles
Example Request
curl -X 'GET' \
'https://cloud.smartdocumentor.net/api/v1.0/external/tenant/availableroles' \
--header 'Authorization: Bearer {your access token here}' \
--header 'accept: application/json'
Responses
[
{
"name": "Administrator"
},
{
"name": "Manager"
},
{
"name": "Creator"
},
{
"name": "Reviewer"
},
{
"name": "Viewer"
}
]
Response Body List<AvailableRolesViewModel>
List<AvailableRolesViewModel>
Response Body AvailableRolesViewModel
AvailableRolesViewModel
Name
Type
Description
name
string
Name of the role. This is the value that must be used when inviting a user. Example: Administrator
Last updated