Submits a task to modify the information about a domain name.

You can call the QueryTaskDetailList operation to query the task execution result.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SaveSingleTaskForUpdatingContactInfo

The operation that you want to perform. Set the value to SaveSingleTaskForUpdatingContactInfo.

ContactType String Yes registrant

The type of the contact. Valid values:

  • registrant
  • admin
  • billing
  • tech
DomainName String Yes example.com

The domain name.

RegistrantProfileId Long Yes 1

The ID of the registrant profile.

UserClientIp String No 127.0.0.1

The IP address of the client.

Lang String No en

The language in which the system returns the error message. Valid values:

  • zh: Chinese
  • en: English

Default value: en

InstanceId String No S123456789

The instance ID of the domain name.

AddTransferLock Boolean No false

This parameter is valid only when the ContactType parameter is set to registrant. This indicates whether the domain name can be transferred out within 60 days after the registrant of the domain name is changed. The default value is false, which indicates that transfer is allowed.

Response parameters

Parameter Type Example Description
RequestId String 40F46D3D-F4F3-4CCB-AC30-2DD20E32E528

The ID of the request.

TaskNo String 3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8

The ID of the task.

Examples

Sample requests

http(s)://[Endpoint]/?Action=SaveSingleTaskForUpdatingContactInfo
&ContactType=registrant
&DomainName=example.com
&RegistrantProfileId=1
&<Common request parameters>

Sample success responses

XML format

<SaveSingleTaskForUpdatingContactInfoResponse>
      <TaskNo>3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8</TaskNo>
      <RequestId>40F46D3D-F4F3-4CCB-AC30-2DD20E32E528</RequestId>
</SaveSingleTaskForUpdatingContactInfoResponse>

JSON format

{    
  "TaskNo": "3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8",
  "RequestId": "40F46D3D-F4F3-4CCB-AC30-2DD20E32E528"
}

Error codes

For a list of error codes, visit the API Error Center.