get
https://{subdomain}.td.commpeak.com/api/roles
Retrieve the list of user roles defined for your account.
When to use. Populate a role picker, or look up a role's id, level or two-factor setting before assigning it to a user. To fetch a single role by its id, use GET /roles/{id}.
Parameters. Filter, order, limit and select fields by any response field. Select userIds to include the IDs of the users assigned to each role.
Returns. { "roles": [ ... ] }, where each entry has id, name, level, twofa_type and, by default, userIds.
Example. GET /api/roles
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…