Create filtered group of proxies
Create the settings for a filtered group of proxies.
Body
Required
Data for the filtered group of proxies to create
-
id
string Identifier of the filtered group of proxies
-
filters
array[object] Required Filters to be matched
Selects proxies by matching a proxy metadata item.
-
expected_proxies_count
integer(int32) Required Expected minimum number of proxies matching all filters in this group
Responses
-
200 application/json
Returns the created or updated filtered group of proxies
-
400 application/json
- The filtered group of proxies has empty id. (code:
proxies.proxies_filtered_group_empty_id
) - A filtered group of proxies with the same identifier already exists. (code:
proxies.proxies_filtered_group_already_exists
)
- The filtered group of proxies has empty id. (code:
POST
/platform/infrastructure/proxies/filtered-groups
curl \
--request POST 'https://{{hostname}}/api/v1/platform/infrastructure/proxies/filtered-groups' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"id":"string","filters":[{"key":"string","value":"string"}],"expected_proxies_count":42}'