You can call this operation to delete a directory that has tamper protection enabled.

After you delete a directory that has tamper protection enabled, files under the directory are no longer protected by tamper protection. The corresponding websites may be maliciously modified by attackers. Proceed with caution.

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 ModifyWebLockDeleteConfig

The operation that you want to perform.

Set the value to ModifyWebLockDeleteConfig.

SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
Id Integer No 12345

The ID of the protected directory to be deleted.

Note You can call the DescribeWebLockConfigList operation to query the ID of the protected directory.
Uuid String No inet-12345

The UUID of the server to which the protected directory to be deleted belongs.

Note You can call the DescribeAllEntity operation to query the UUID of the server.

Response parameters

Parameter Type Example Description
RequestId String D9354C1A-D709-4873-9AAE-41513327B247

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyWebLockDeleteConfig
&<Common request parameters>

Sample success responses

XML format

<ModifyWebLockDeleteConfigResponse>
      <requestId>D9354C1A-D709-4873-9AAE-41513327B247</requestId>
</ModifyWebLockDeleteConfigResponse>

JSON format

{
    "requestId": "D9354C1A-D709-4873-9AAE-41513327B247"
}

Error codes

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