edit-icon download-icon

SaveBatchTaskForUpdateProhibitionLock

Last Updated: Apr 18, 2018

Description

The SaveBatchTaskForUpdateProhibitionLock API submits bulk update prohibition lock tasks. You can use the QueryTaskDetailList API to query the task execution result.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes API of the action, system required parameter. Set this parameter to SaveBatchTaskForUpdateProhibitionLock.
DomainName DomainNameListType Yes Domain name list.
Status Boolean Yes Whether the service is enabled. The value true indicates that the service is enabled, and the value false indicates that the service is disabled.
Lang String No Language of the information returned from the API. The enumerated values include zh (Chinese) and en (English). The default value is en.

Response parameters

Parameter Type Description
RequestId String Unique request identifier
TaskNo String Task ID

Error codes

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error
NetworkIOError Network IO Error. 400 Network I/O exception

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=SaveBatchTaskForUpdateProhibitionLock
  2. &DomainName.1=test1.com
  3. &DomainName.2=test2.com
  4. &DomainName.3=test3.com
  5. &Status=false
  6. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <SaveBatchTaskForUpdateProhibitionLockResponse>
  3. <TaskNo>d3babb0a-c939-4c25-8c65-c47b65f5492a</TaskNo>
  4. <RequestId>F51977F9-2B40-462B-BCCD-CF5BB1E9DB56</RequestId>
  5. </SaveBatchTaskForUpdateProhibitionLockResponse>
  • JSON format
  1. {
  2. "TaskNo": "d3babb0a-c939-4c25-8c65-c47b65f5492a",
  3. "RequestId": "F51977F9-2B40-462B-BCCD-CF5BB1E9DB56"
  4. }
Thank you! We've received your feedback.