Returns a list of user roles.
GET
/roles
Request Parameters

none

There are no parameters for this endpoint.
Example Response
{ "status": "ok", "code": 200, "data": { "roles": [ { "key": "ckonful6n000001mghbqo3hkp", "name": "Admin", "permissions": [ "job_create", "job_see_all", "job_change_inprog_history", "job_change_comp_history", "job_delete", "job_assign_unassigned", "job_reassign", "job_add_due", "integration_activate", "integration_connect", "role_create", "role_edit", "role_delete", "sub_view", "sub_change", "sub_cancel", "user_invite", "user_edit", "user_delete", "workflow_view_unpublished", "workflow_create", "workflow_edit", "workflow_publish", "workflow_delete", "knowledge_base_manage", "developers_manage" ] }, { "key": "ckonfuqud000101mgaw651dr2", "name": "Manager", "permissions": [ "job_create", "job_see_all", "job_change_inprog_history", "job_change_comp_history", "job_delete", "job_assign_unassigned", "job_reassign", "job_add_due", "integration_activate", "integration_connect", "role_create", "role_edit", "role_delete", "user_invite", "user_edit", "user_delete", "workflow_view_unpublished", "workflow_create", "workflow_edit", "workflow_publish", "workflow_delete", "knowledge_base_manage" ] }, { "key": "ckonfuvoq000201mg71cr09om", "name": "Contributor", "permissions": [ "job_create", "workflow_edit", "workflow_view_unpublished", "role_edit", "role_create", "knowledge_base_manage" ] } ] } }