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

Updates any fields contained within the contact parameter on the contact.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
domain

The domain.

string

Required

optOutOfLock

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

boolean

Default value is True

Body Parameters

A contact.

Contact
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Organization

string

None.

Department

string

None.

Email

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

Region

string

None.

Country

string

None.

PostalCode

string

None.

PhoneCountry

integer

None.

Phone

string

None.

FaxCountry

integer

None.

Fax

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Organization": "sample string 3",
  "Department": "sample string 4",
  "Email": "sample string 5",
  "Address1": "sample string 6",
  "Address2": "sample string 7",
  "City": "sample string 8",
  "Region": "SAMPLE STRING 9",
  "Country": "SAMPLE STRING 10",
  "PostalCode": "sample string 11",
  "PhoneCountry": 12,
  "Phone": "sample string 13",
  "FaxCountry": 1,
  "Fax": "sample string 14"
}

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 'Contact'.

Response Information

Resource Description

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.