autoRenew or privacyEnabled settings on a domain you own. The request is a partial update — you only need to send the fields you want to change, and everything else stays exactly as it is. The response echoes back the current values of both settings after your change is applied.
Request
Method:PATCHPath:
/v1/domains/{domain}
Path Parameters
string
required
The domain name to update (e.g.
example.com).Body Parameters
boolean
Set to
true to enable automatic renewal, or false to disable it. Omit this field to leave the current setting unchanged.boolean
Set to
true to enable WHOIS privacy protection, or false to disable it. Omit this field to leave the current setting unchanged.You must include at least one of
autoRenew or privacyEnabled in the request body. Sending an empty object returns a 400 Bad Request error.Request Example
Response — 200 OK
The response reflects the current state of both settings after the update is applied, regardless of which fields you sent.boolean
The current auto-renew setting for the domain after the update.
boolean
The current WHOIS privacy setting for the domain after the update.