Skip to main content
Version: API v1

Update DNS information for a domain

PUT /v1/accounts/{accountIdentifier}/dns/{domainIdentifier}/
v1
PUT
updateDnsRecords

Updates DNS records for all available types

Request

  • accountIdentifierstring
    required

    Name or UID of the account

  • domainIdentifierstring
    required

    Name of the domain or subdomain

Responses

application/json

Successful operation

  • messagestring

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"mx":[{"priority":123,"value":"string"}],"target":"mittwald.de","ns":["string"],"txt":["string"],"srv":[{"service":"string","protocol":"tcp","server":"string","priority":123,"weight":123,"port":123}],"caa":[{"tag":"issue","flag":123,"domain":"string"}]}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v1/accounts/string/dns/string