Allow creating domains without an IP address.

This commit is contained in:
Andrew Starr-Bochicchio 2018-06-28 16:29:53 -04:00
parent a3505618b6
commit 5fe4b14a76
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ type domainsRoot struct {
// DomainCreateRequest respresents a request to create a domain.
type DomainCreateRequest struct {
Name string `json:"name"`
IPAddress string `json:"ip_address"`
IPAddress string `json:"ip_address,omitempty"`
}
// DomainRecordRoot is the root of an individual Domain Record response