v1
latestOpenAPI 3.1.12026-07-17111158225.7 KBzones
List zones
Lists the zones in the account.
get/{account}/zones
Path parameters
accountinteger required
The account id
Query parameters
name_likestring
Only include results with a name field containing the given string
sort'id:asc' | 'id:desc' | 'name:asc' | 'name:desc'
Sort results. Default sorting is by name ascending.
Response
Successfully retrieved account zone list.
Example response
{
"data": [
{
"id": 1,
"account_id": 1010,
"name": "example-alpha.com",
"reverse": false,
"secondary": false,
"last_transferred_at": null,
"active": true,
"created_at": "2015-04-23T07:40:03Z",
"updated_at": "2015-04-23T07:40:03Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 30,
"total_entries": 2,
"total_pages": 1
}
}