List Roles
documentedReturn all roles in the workspace.
GET /api/v1/roles.listUser Managementno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://rocket.chat/api/v1/roles.list" \
-X GET \
-H "X-User-Id: {{$user_id}}" \
-H "X-Auth-Token: {{ROCKET_SECRET}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"