Logo
Akamai APIs API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).
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.
showAll
string (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.
isComplete
string (Optional) Returns only completed requests
isExpired
string (Optional) Returns requests based on request expiration.



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

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



Curl
curl -X POST 'https://undefined/config-dns/v2/proxies/:proxyId/zones/create-requests?accountSwitchKey=&page=&pageSize=&showAll=&isComplete=&isExpired=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"proxyZones":[{"filterMode":"MANUAL","name":"river.com"},{"filterMode":"MANUAL","name":"lake.edu"},{"filterMode":"AUTOMATIC","name":"ocean.com","tsigKey":{"algorithm":"hmac-md5","name":"oceanTsigKeyName","secret":"4X3EFiEHavHcE08ghN47jQ=="}}]}'

ENDPOINTS