cURL
curl --request GET \ --url https://api.ctrl-hub.com/v3/iam/permissions
{ "data": [ { "type": "permissions", "id": "schemes.create", "attributes": { "description": "Ability to create schemes" } } ], "meta": { "counts": { "limit": 10 }, "page": { "limit": 10, "offset": { "current": 20, "next": 30, "previous": 10 } } }, "links": { "current": "https://api.ctrl-hub.com/v3/iam/permissions?limit=10&offset=20", "next": "https://api.ctrl-hub.com/v3/iam/permissions?limit=10&offset=30", "previous": "https://api.ctrl-hub.com/v3/iam/permissions?limit=10&offset=10" } }
Returns all permissions
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