All Products
Search
Document Center

Security Center:DeleteOpaStrategyNew

Last Updated:Feb 20, 2024

Deletes rules of the at-risk image blocking type.

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
StrategyIdsarrayNo

The IDs of rules.

longNo

The ID of the rule.

Note You can call the ListOpaClusterStrategyNew operation to query the ID of a rule.
101

Response parameters

ParameterTypeDescriptionExample
object

BaseResult

Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codestring

The response code. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

200
Messagestring

The returned message.

success
RequestIdstring

The request ID.

8FD58F11-0F4D-5C7F-B9B2-CFD76108F9A4
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "Code": "200",
  "Message": "success",
  "RequestId": "8FD58F11-0F4D-5C7F-B9B2-CFD76108F9A4",
  "HttpStatusCode": 200
}

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.