All Products
Search
Document Center

Security Center:ModifyWebLockDeleteConfig

Last Updated:Jan 28, 2023

Deletes the protected directory for a specified server.

Operation Description

After you delete a directory that has web tamper proofing enabled on a server, files in the directory are no longer protected by web tamper proofing. The information about the websites that are hosted on the server may be maliciously modified by attackers. Proceed with caution.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

1.2.XX.XX
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh
IdintegerYes

The ID of the protected directory that you want to delete.

NoteYou can call the DescribeWebLockConfigList operation to query the IDs of protected directories.
12
UuidstringYes

The UUID of the server for which you want to delete the protected directory.

NoteYou can call the DescribeWebLockConfigList operation to query the UUID of servers.
7f7fe9a2-55de-4b9d-a37a-0d981d36****

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

299D0992-271A-5750-ACEB-46D322862BFF

Example

Normal return example

JSONFormat

{
  "RequestId": "299D0992-271A-5750-ACEB-46D322862BFF"
}

Error codes

Http codeError codeError messageDescription
400DefenceAtLeastOneConfigAt least one protection directory is needed.-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500InternalErrorThe request processing has failed due to some unknown error.-
500ServerErrorServerError-

For a list of error codes, visit the API error center.

Change history

Change timeSummary of changesOperate
2022-08-01The error codes of the API operation has changed
Change itemChange content
Error CodesThe error codes of the API operation has changed
    delete Error Codes: 400
    delete Error Codes: 500
2022-08-01The error codes of the API operation has changed
Change itemChange content
Error CodesThe error codes of the API operation has changed
    delete Error Codes: 400
    delete Error Codes: 500