All Products
Search
Document Center

Security Center:OperateApplication

Last Updated:May 22, 2025

Adds or deletes container applications for tamper proofing.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleIdlongYes

The ID of the rule.

300566
ContainerWebDefenseApplicationDTOSarray<object>Yes

The container application that is protected from being tampered with.

objectYes
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.