DNS
Records

Create DNS record

Changed on

Creates a new DNS record in a zone.

Creates a record with the specified name, type, and content.

See also:.*

post/api/dns/zones/{id}/records

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/dns/zones/{id}/records
  • Auth: none declared

Path parameters

idstring required

Zone ID

Request body

contentstring required
disabledboolean
namestring required
ttlinteger
typestring required

Response

Record created

contentstring required
disabledboolean required
idstring required
namestring required
ttlinteger required
typestring required
zone_idinteger required

Changes

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status