POST /api/filters { "filter": { "role_id": 8, "permission_ids": [ 623290985 ], "organization_ids": [ 447626439 ] } } 201 { "search": null, "resource_type_label": "Domain", "unlimited?": true, "created_at": "2021-09-01 12:32:26 UTC", "updated_at": "2021-09-01 12:32:26 UTC", "override?": false, "id": 1062414188, "resource_type": "Domain", "role": { "name": "Destroy hosts", "id": 8, "description": null, "origin": "" }, "permissions": [ { "name": "view_domains", "id": 623290985, "resource_type": "Domain" } ], "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:
|
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:
|