PUT account/domains/{domain}?optOutOfLock={optOutOfLock}

Updates locking, auto-renew, or whois privacy status on the domain.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
domain

The domain name

string

Required

optOutOfLock

Whether to opt out of a 60-day lock (if applicable)

boolean

Default value is True

Body Parameters

An account domain object containing changes to the locking, auto-renew or whois privacy flags.

AccountDomain
NameDescriptionTypeAdditional information
DomainName

string

None.

Status

string

None.

ExpirationDate

date

None.

Locked

boolean

None.

AutoRenew

boolean

None.

WhoIsPrivacy

boolean

None.

Category

string

None.

UpgradedDomain

boolean

None.

AuthCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DomainName": "sample string 1",
  "Status": "sample string 2",
  "ExpirationDate": "2024-04-23T03:46:17.831085-06:00",
  "Locked": true,
  "AutoRenew": true,
  "WhoIsPrivacy": true,
  "Category": "sample string 7",
  "UpgradedDomain": true,
  "AuthCode": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccountDomain'.

Response Information

Resource Description

The updated AccountDomain object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.