Returns a full list of domains for a site.
If successful, this endpoint will return a 200 OK status.
The following arguments are supported for this endpoint.
| Name | Type | Default Value |
|---|---|---|
|
site Required |
Site Lookup | None |
The following errors may occur during this request.
| Details | HTTP status |
|---|---|
|
No site was found matching any of the criteria provided in the arguments |
404 Not Found |
When the request is successful, you can expect an object matching the specification below to be returned.
{ domains: [ Domain { id: Integer site_id: Integer name: String redirect: Boolean require_ssl: Boolean primary: Boolean created_at: Unix Timestamp } ] }