Submits a task to enable or disable the update prohibition lock for a domain name.
You can call the QueryTaskDetailList operation to query the task execution result.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | SaveSingleTaskForUpdateProhibitionLock | The operation that you want to perform. Set the value to SaveSingleTaskForUpdateProhibitionLock. |
DomainName | String | Yes | example.com | The domain name. |
Status | Boolean | Yes | false | Specifies whether to enable the update prohibition lock. Valid values:
|
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:
Default value: en |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | F51977F9-2B40-462B-BCCD-CF5BB1E9DB56 | The ID of the request. |
TaskNo | String | d3babb0a-c939-4c25-8c65-c47b65f5492a | The ID of the task. |
Examples
Sample requests
&<Common request parameters>
Sample success responses
XML
format
<SaveSingleTaskForUpdateProhibitionLockResponse>
<TaskNo>d3babb0a-c939-4c25-8c65-c47b65f5492a</TaskNo>
<RequestId>F51977F9-2B40-462B-BCCD-CF5BB1E9DB56</RequestId>
</SaveSingleTaskForUpdateProhibitionLockResponse>
JSON
format
{
"TaskNo": "d3babb0a-c939-4c25-8c65-c47b65f5492a",
"RequestId": "F51977F9-2B40-462B-BCCD-CF5BB1E9DB56"
}
Error codes
For a list of error codes, visit the API Error Center.