POST account/domains/{domain}/hostrecords/mx
Creates an "MX" record on the domain.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
domain |
a domain name |
string |
Required |
Body Parameters
The record.
MXRecordName | Description | Type | Additional information |
---|---|---|---|
Subdomain | string |
None. |
|
MailServer | string |
None. |
|
Priority | integer |
None. |
|
RecordId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Subdomain": "@", "MailServer": "email.example.com", "Priority": 10, "RecordId": 2221 }
application/x-www-form-urlencoded
Sample:
Subdomain=%40&MailServer=email.example.com&Priority=10&RecordId=2221
Response Information
Resource Description
HTTP 201 upon success or an appropriate HTTP error code.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Subdomain": "@", "MailServer": "email.example.com", "Priority": 10, "RecordId": 2221 }