Modify MX
Modifies an existing MX record on the domain’s DNS zone.
Authorizations
A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.
Body
Order ID of the domain.
124680932
The existing mail server hostname of the record to modify.
"aspmx.l.google.com"
The replacement mail server hostname (fully qualified).
"mail.example.com"
Domain or subdomain receiving mail, relative to the zone. Use @ or omit for the root domain.
"@"
Mail server priority. Lower values are preferred. Common values: 10 (primary), 20 (secondary).
10
TTL in seconds. Minimum 300. Omit to use the zone default.
300