Name icon

Name

Interact with Name API

Domain → Update A Domain

AI-generated

Summary

Updates domain settings including transfer lock status, privacy, and auto-renewal for a specified domain via the Name API.

Inputs

  • domainName (required) — The domain name to update (exact match or wildcard supported).
  • locked — Whether to set the transfer lock status for the domain.
  • privacyEnabled — Whether to include domains with privacy enabled in the results.
  • autorenewEnabled — Whether to enable or disable automatic renewal for the domain.
  • requestOptions — HTTP request options including batching, proxy, timeout, and SSL settings.

Output shape

a single record

Returns the updated domain object reflecting the applied changes.

Examples

Example 1: Disable auto-renewal for a domain

Set domainName to 'example.com' and autorenewEnabled to false.

Example 2: Lock a domain to prevent transfers

Set domainName to 'example.com' and locked to true.

Example 3: Toggle privacy and auto-renewal

Set domainName to 'example.com', locked to false, privacyEnabled to true, and autorenewEnabled to true.

Links

Discussion