List zones for group

Lists all the zones for a given group.

GET
https://dennis.localhost/api/v1/groups/{group}/zones

If successful, this endpoint will return a 200 OK status.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

group Required

Group Lookup None

query

Filter zones by their name (partial matching)

String None

view

Zone views None

page

Integer 1

per_page

Integer 30

Potential Errors

The following errors may occur during this request.

Details HTTP status

group_not_found

No group could be found using the given arguments

404 Not Found

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    pagination: Pagination Details {
        current_page: Integer
        total_pages: Integer?
        total: Integer?
        per_page: Integer
        large_set: Boolean
    }
    zones: [ Zone {
        id: Integer
        name: String
        created_at: Unix Timestamp
        updated_at: Unix Timestamp
        serial: Integer
        default_ttl: Integer
        external_reference: String?
        verified: Boolean
        nameservers_verified_at: Unix Timestamp?
        nameservers_checked_at: Unix Timestamp?
        always_verified: Boolean
        nameservers_verified: Boolean
        reverse_dns: Boolean
        stale_verification: Boolean
    } ]
}