get https://example.td.commpeak.com/api/roles
Get Roles
This endpoint retrieves a list of roles.
Response
The response is a JSON object with a roles array containing objects with the following properties:
-
id(string): The ID of the role. -
name(string): The name of the role. -
level(string): The level of the role. -
twofa_type(string): The type of two-factor authentication associated with the role. -
userIds(array of strings): An array of user IDs associated with the role.