List proxy zones
GET https://{{host}}/config-dns/v2/proxies/:proxyId/zones
Get a list of all proxy zones that the current user has access to manage.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
search | string | (Optional) Limits the list of proxy zones belonging to the specified name. | |
filterMode | string | (Optional) Limits the list of proxy zones belonging to the specified filter modes. | |
page | string | (Optional) Which page of results to return. The first page is page 1 , the default value. | |
pageSize | string | (Optional) The number of results per page to return, 25 by default. | |
sortBy | string | (Optional) Sorts the list on the specified fields. You can specify multiple fields as a comma-separated list. Placing a dash before a field name sorts it in descending order. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"metadata":{"lastPage":0,"page":1,"pageSize":25,"totalElements":3},"proxyZones":[{"filterMode":"MANUAL","name":"river.com"},{"filterMode":"MANUAL","name":"lake.edu"},{"filterMode":"AUTOMATIC","name":"ocean.com","tsigKey":{"algorithm":"hmac-md5","name":"oceanTsigKeyName","secret":"4X3EFiEHavHcE08ghN47jQ=="}}]}