PUT /api/filters/10997177 { "filter": { "role_id": 8, "permission_ids": [ 740433627 ] } } 200 { "search": null, "resource_type": "Host", "unlimited?": true, "created_at": "2019-09-11 14:35:58 UTC", "updated_at": "2019-09-11 14:35:58 UTC", "override?": false, "id": 10997177, "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 |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations 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:
|