POST /api/filters { "filter": { "role_id": 8, "permission_ids": [ 350275019 ] } } 201 { "search": null, "resource_type": "Architecture", "unlimited?": true, "created_at": "2018-11-15 19:01:35 UTC", "updated_at": "2018-11-15 19:01:35 UTC", "override?": false, "id": 1062414301, "role": { "name": "Destroy hosts", "id": 8, "description": null, "origin": "" }, "permissions": [ { "name": "view_architectures", "id": 350275019, "resource_type": "Architecture" } ], "locations": [], "organizations": [] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
filter required |
Validations:
|
filter[role_id] required |
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:
|