Get a zone's record sets
GET https://{{host}}/config-dns/v2/zones/:zone/recordsets
Lists all record sets for this Zone. It works only for PRIMARY
and SECONDARY
zones. This operation is paginated.
Body
PARAM
Key | Datatype | Required | Description |
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. Allowed fields include `name` and `type`. | |
types
|
string | (Optional) Displays only record sets that match one of the provided types. Specifies multiple fields as a comma-separated list. Ignores illegal or disallowed record types. | |
search
|
string | (Optional) Displays only record sets whose NAME or RDATA field matches this value. The entire record set - all records with the same name and type - appears if any record in the set has a NAME or RDATA that matches the value case-insensitively. | |
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. | |
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 swi Curl curl -X GET 'https://host/config-dns/v2/zones/:zone/recordsets?sortBy=&types=&search=&page=&pageSize=&showAll=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |