Deletes a protected directory from a specified server.
Operation description
After you delete a protected directory from a server, tamper-proofing no longer protects the files in the directory. The website information on your server may be maliciously tampered with. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyWebLockDeleteConfig |
update |
*WebLockConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
1.2.XX.XX |
| Lang |
string |
No |
The language type for requests and responses. Default value: zh. Valid values:
|
zh |
| Id |
integer |
Yes |
The ID of the protected directory to delete. Note
You can call the DescribeWebLockConfigList operation to obtain the ID of the protected directory. |
12 |
| Uuid |
string |
Yes |
The UUID of the server from which you want to delete the protected directory. Note
You can call the DescribeWebLockConfigList operation to obtain the UUID of the server. |
7f7fe9a2-55de-4b9d-a37a-0d981d36**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters for deleting a protected directory from a specified server. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
299D0992-271A-5750-ACEB-46D322862BFF |
Examples
Success response
JSON format
{
"RequestId": "299D0992-271A-5750-ACEB-46D322862BFF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DefenceAtLeastOneConfig | At least one protection directory is needed. | |
| 400 | IllegalParam | Illegal param | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.