cURL
curl --request GET \ --url https://api.ctrl-hub.com/v3/iam/roles
{ "data": [ { "type": "roles", "id": "scheme.owner", "attributes": { "name": "Scheme Owner", "description": "Ability to manage all aspects of schemes", "custom": false, "launch_stage": "beta", "permissions": [ "schemes.create", "schemes.read", "schemes.update", "schemes.delete" ] } } ], "meta": { "counts": { "limit": 10 }, "page": { "limit": 10, "offset": { "current": 20, "next": 30, "previous": 10 } } }, "links": { "current": "https://api.ctrl-hub.com/v3/iam/roles?limit=10&offset=20", "next": "https://api.ctrl-hub.com/v3/iam/roles?limit=10&offset=30", "previous": "https://api.ctrl-hub.com/v3/iam/roles?limit=10&offset=10" } }
Returns all system roles
Limit the number of resources returned by the API
Offset for resources returned by the API
A field in the resource to sort results with. Not all attributes are supported, please see the Object Model for sortable fields.
Show child attributes