You can call this operation to enable or disable tamper protection for a server.
To enable tamper protection, make sure that you have sufficient licenses in you account to enable tamper protection. One license allows you to enable tamper protection for one server. The number of licenses that you purchased equals the number of servers for which you can enable tamper protection.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyWebLockStatus |
The operation that you want to perform. Set the value to ModifyWebLockStatus. |
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:
|
Uuid | String | No | inet-1234567**** |
The UUID of the server for which you want to enable or disable tamper protection. |
Status | String | No | on |
Specifies whether to enable or disable tamper protection for the specified server. Valid values:
Note After you disable tamper protection, one license is released.
|
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=ModifyWebLockStatus
&<Common request parameters>
Sample success responses
XML
format
<ModifyWebLockStatusResponse
<RequestId>D9354C1A-D709-4873-9AAE-41513327B247</requestId>
</ModifyWebLockStatusResponse>
JSON
format
{
"RequestId": "D9354C1A-D709-4873-9AAE-41513327B247"
}
Error codes
For a list of error codes, visit the API Error Center.