Domain

Add a domain name to a website

post/v1/hosting/websites/{website_id}/domain-name

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

domain_namestring required

Domain name to add (valid domain name format)

Response

Domain name added successfully

status'ok' | 'error'

Example response

{
  "status": "ok",
  "data": {
    "domain_name": "https://testdomain.com",
    "id": 16461,
    "message": "Domain name successfully saved",
    "nameservers": "[\"NS1\", \"NS2\", \"NS3\", \"NS4\"]",
    "status": "ok"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.