PUT account/domains/{domain}/contacts/registrant?optOutOfLock={optOutOfLock}
Updates any fields contained within the contact parameter on the contact. Note: the email used on the contact must be verified first.
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Organization | string |
None. |
|
| Department | string |
None. |
|
| 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:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
