Skip to content

Commit 5fe4b14

Browse files
Allow creating domains without an IP address.
1 parent a350561 commit 5fe4b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domains.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type domainsRoot struct {
5252
// DomainCreateRequest respresents a request to create a domain.
5353
type DomainCreateRequest struct {
5454
Name string `json:"name"`
55-
IPAddress string `json:"ip_address"`
55+
IPAddress string `json:"ip_address,omitempty"`
5656
}
5757

5858
// DomainRecordRoot is the root of an individual Domain Record response

0 commit comments

Comments
 (0)