Submit a bulk proxy zone create request

POST https://{{host}}/config-dns/v2/proxies/:proxyId/zones/create-requests

Submits a request to create one or more new Proxy Zones asynchronously. The request body contains a JSON array. Each object in the array contains the data necessary to create a proxy zone. All proxy zones are created on the same contract and group. An offline task creates the new proxy zones. You can use the response's requestId to check the task's status and view its results once it completes.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(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.
pagestring(Optional) Which page of results to return. The first page is page 1, the default value.
pageSizestring(Optional) The number of results per page to return, 25 by default.
showAllstring(Optional) Disables paging and sorting and shows the entire list all at once, false by default. Using this parameter may significantly increase the response time.
isCompletestring(Optional) Returns only completed requests
isExpiredstring(Optional) Returns requests based on request expiration.

Request Body

{"proxyZones"=>[{"filterMode"=>"MANUAL", "name"=>"river.com"}, {"filterMode"=>"MANUAL", "name"=>"lake.edu"}, {"filterMode"=>"AUTOMATIC", "name"=>"ocean.com", "tsigKey"=>{"algorithm"=>"hmac-md5", "name"=>"oceanTsigKeyName", "secret"=>"4X3EFiEHavHcE08ghN47jQ=="}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"expirationDate":"2021-01-03T12:00:00Z","requestId":"e585a640-0849-4b87-8dd9-91afdaf8851c"}