# List Roles API API to retrieve all the roles for the tenant Endpoint: GET /authz2/v1/roles/ Version: 1.0.0 Security: apiKey ## Response 200 fields (application/json): - `count` (integer) - `roles` (array) - `roles.id` (string) - `roles.name` (string) - `roles.description` (string) - `roles.role_type` (integer) ## Response 400 fields (application/json): - `status` (integer) Either 'status' or 'code' will be present, but not both. - `code` (integer) Either 'status' or 'code' will be present, but not both. - `error` (string) Either 'error' or 'errors' will be present, but not both. - `errors` (array) Either 'error' or 'errors' will be present, but not both. - `message` (string) ## Response 401 fields (application/json): - `status` (integer) Either 'status' or 'code' will be present, but not both. - `code` (integer) Either 'status' or 'code' will be present, but not both. - `error` (string) Either 'error' or 'errors' will be present, but not both. - `errors` (array) Either 'error' or 'errors' will be present, but not both. - `message` (string)