All Products
Search
Document Center

Security Center:OperateApplication

Last Updated:Feb 20, 2024

Adds or deletes container applications for tamper proofing.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleIdlongYes

The ID of the rule.

300566
ContainerWebDefenseApplicationDTOSobject []Yes

The container application that is protected from being tampered with.

ClusterIdstringYes

The ID of the cluster to which the container belongs.

Note You can call the DescribeGroupedContainerInstances operation to query the cluster ID.
ceb68cc58234141828677e383bd21ff0c
TagstringYes

The value of the application tag.

app:app-003
FlagstringYes

Specifies whether to apply the configuration to the asset. Valid values:

  • add: applied
  • del: not applied
add
IdlongNo

The application ID. If the application is newly added, you do not need to specify this parameter.

196

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

79B067A4-54EB-5560-B5C8-425ABEDC2784

Examples

Sample success responses

JSONformat

{
  "RequestId": "79B067A4-54EB-5560-B5C8-425ABEDC2784"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.