PUT /api/filters/10997177 { "filter": { "role_id": 8, "permission_ids": [ 740433627 ] } } 200 { "search": null, "resource_type_label": "Host", "unlimited?": true, "created_at": "2022-09-06 14:36:15 UTC", "updated_at": "2022-09-06 14:36:15 UTC", "override?": false, "id": 10997177, "resource_type": "Host", "role": { "name": "Destroy hosts", "id": 8, "description": null, "origin": "" }, "permissions": [ { "name": "create_hosts", "id": 740433627, "resource_type": "Host" } ], "locations": [], "organizations": [] }
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:
|
id required |
Validations:
|
filter required |
Validations:
|
filter[role_id] optional |
Validations:
|
filter[search] optional , nil allowed |
Validations:
|
filter[override] optional , nil allowed |
Validations:
|
filter[permission_ids] optional , nil allowed |
Validations:
|
filter[organization_ids] optional , nil allowed |
Validations:
|
filter[location_ids] optional , nil allowed |
Validations:
|