DNS Providers
Apply a hostname mode to a managed domain (persist + optional DNS sync + route reload).
Changed onpost/dns-providers/{provider_id}/domains/{domain}/apply-hostname-mode
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
provider_idinteger required
domainstring required
Request body
Example request
{
"adopt_records": [
{
"name": "pr-12.preview.example.com",
"record_type": "A"
}
],
"skip_records": [
{
"name": "pr-12.preview.example.com",
"record_type": "A"
}
]
}Response
Hostname mode applied
Example response
{
"conflicts": [
{
"current_value": "203.0.113.10",
"name": "pr-12.preview.example.com",
"record_type": "A",
"revision": "9f2c4e1ab3d5f6071829304a5b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8",
"value": "203.0.113.10"
}
]
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
- breaking
- info
added the new optional request property
adopt_records
4 more changes in this revision
- info