POST account/domains/{domain}/hostrecords/txt
Creates a "TXT" record on the domain.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
domain |
a domain name |
string |
Required |
Body Parameters
The record.
TXTRecordName | Description | Type | Additional information |
---|---|---|---|
Subdomain | string |
None. |
|
TextRecord | string |
None. |
|
RecordId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Subdomain": "www", "TextRecord": "Test text record", "RecordId": 78121 }
application/x-www-form-urlencoded
Sample:
Subdomain=www&TextRecord=Test+text+record&RecordId=78121
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": "www", "TextRecord": "Test text record", "RecordId": 78121 }