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
POST
/platform/infrastructure/proxies/filtered-groups
curl \
--request POST https://{{hostname}}/api/v1/platform/infrastructure/proxies/filtered-groups \
--data '{"id":"string","filters":[{"key":"string","value":"string"}],"expected_proxies_count":42}'
Request examples
{
"id": "string",
"filters": [
{
"key": "string",
"value": "string"
}
],
"expected_proxies_count": 42
}
Response examples (200)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string
# Payload
{
"id": "string",
"filters": [
{
"key": "string",
"value": "string"
}
],
"expected_proxies_count": 42
}
Response examples (400)
# Headers
x-cloud-error-codes: proxies.proxies_filtered_group_empty_id
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}