Create a new DNS Domain record within a service.
If successful, this endpoint will return a 200 OK status.
The following arguments are supported for this endpoint.
| Name | Type | Default Value |
|---|---|---|
|
dns_domain Required |
DNS Domain Lookup | None |
|
record_name Required The name of the DNS Domain record |
String | None |
|
type Required The type of the DNS Domain record |
String | None |
|
ttl Required The TTL value of the DNS Domain record |
Integer | None |
|
record_fields |
DNSDomainRecordArguments | None |
The following errors may occur during this request.
| Details | HTTP status |
|---|---|
|
No DNS Domain was found matching any of the criteria provided in the arguments |
404 Not Found |
|
There was an error with your request |
500 Internal Server Error |
|
One or more fields are invalid or empty |
400 Bad Request |
|
The provided record type is not valid |
400 Bad Request |
When the request is successful, you can expect an object matching the specification below to be returned.
{ record_created: Boolean }