GET /api/permissions 200 { "total": 161, "subtotal": 161, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "view_usergroups", "id": 44766150, "resource_type": "Usergroup" }, { "name": "view_hostgroups", "id": 51094894, "resource_type": "Hostgroup" }, { "name": "destroy_external_parameters", "id": 63499797, "resource_type": "PuppetclassLookupKey" }, { "name": "destroy_puppetclasses", "id": 76106844, "resource_type": "Puppetclass" }, { "name": "create_smart_proxies", "id": 92702333, "resource_type": "SmartProxy" }, { "name": "view_plugins", "id": 98100110, "resource_type": null }, { "name": "view_globals", "id": 101322209, "resource_type": "CommonParameter" }, { "name": "view_subnets", "id": 102149605, "resource_type": "Subnet" }, { "name": "view_smart_proxies_autosign", "id": 120421563, "resource_type": "SmartProxy" }, { "name": "console_hosts", "id": 124793742, "resource_type": "Host" }, { "name": "create_realms", "id": 125033645, "resource_type": "Realm" }, { "name": "deploy_provisioning_templates", "id": 129164932, "resource_type": "ProvisioningTemplate" }, { "name": "edit_smart_proxies", "id": 130358337, "resource_type": "SmartProxy" }, { "name": "view_media", "id": 135202335, "resource_type": "Medium" }, { "name": "access_settings", "id": 139485686, "resource_type": null }, { "name": "destroy_trends", "id": 139524545, "resource_type": "Trend" }, { "name": "create_external_variables", "id": 140923897, "resource_type": "VariableLookupKey" }, { "name": "destroy_models", "id": 147454802, "resource_type": "Model" }, { "name": "edit_models", "id": 173772800, "resource_type": "Model" }, { "name": "create_hostgroups", "id": 175778558, "resource_type": "Hostgroup" } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, 'all' to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
id | integer | |
name | string | |
resource_type | string |