Domain
Add a domain name to a website
post/v1/hosting/websites/{website_id}/domain-name
Request
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
website_idinteger required
Headers
x-api-keystring required
API key for authentication
Request body
Response
Domain name added successfully
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.