POST account/domains/{domain}/hostrecords/txt

Creates a "TXT" record on the domain.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
domain

a domain name

string

Required

Body Parameters

The record.

TXTRecord
NameDescriptionTypeAdditional 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.

HttpResponseMessage
NameDescriptionTypeAdditional 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
}