List all roles
The authenticated user must have the List Roles permission in the role. Once done, this gives a list of the roles and their usage.
GET
/roles/list
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/roles/list \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": 45,
"name": "Senior Team Leader",
"usage": 6
}
]