Changes the status of a rule for container tamper-proofing.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RuleId | long | Yes | The ID of the rule. Note
You can call the ListContainerWebDefenseRule operation to query the IDs of rules.
| 900001 |
| Status | string | Yes | The status of the rule. Valid values: on and off. | on |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "8AE9D3DA-406B-51FA-AA1C-89440C1459BF"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
