GET /api/permissions/resource_types 200 { "total": 38, "subtotal": 38, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "Architecture" }, { "name": "Audit" }, { "name": "AuthSource" }, { "name": "Bookmark" }, { "name": "CommonParameter" }, { "name": "ComputeProfile" }, { "name": "ComputeResource" }, { "name": "ConfigReport" }, { "name": "Domain" }, { "name": "Environment" }, { "name": "FactValue" }, { "name": "Host" }, { "name": "HostClass" }, { "name": "Hostgroup" }, { "name": "Image" }, { "name": "Location" }, { "name": "Medium" }, { "name": "Model" }, { "name": "MyPlugin" }, { "name": "Operatingsystem" }, { "name": "Organization" }, { "name": "Parameter" }, { "name": "ProvisioningTemplate" }, { "name": "Ptable" }, { "name": "Puppetclass" }, { "name": "PuppetclassLookupKey" }, { "name": "Realm" }, { "name": "Report" }, { "name": "ReportTemplate" }, { "name": "Role" }, { "name": "Setting" }, { "name": "SmartProxy" }, { "name": "Subnet" }, { "name": "Test::Resource" }, { "name": "Trend" }, { "name": "User" }, { "name": "Usergroup" }, { "name": "VariableLookupKey" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|