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 rule ID. Note
You can call the ListContainerDefenseRule operation to query the rule ID.
| 900001 |
Status | string | Yes | The rule status for container tamper-proofing. Valid values:
| on |
Response parameters
Examples
Sample success responses
JSON
format
{
"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.