All Products
Search
Document Center

Container Registry:DeleteScanRule

Last Updated:Aug 28, 2026

Deletes a scan rule.

Operation description

删除扫描规则。

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

The instance ID

cri-kmsiwlxxdcva****

ScanRuleId

string

No

The rule ID

crscnr-aemytkwad2h7fyhb

Response elements

Element

Type

Description

Example

object

The response struct

RequestId

string

Request Id

12589EF7-96E2-4554-AAD7-F7209E88CAD3

Code

string

The HTTP status code

success

Examples

Success response

JSON format

{
  "RequestId": "12589EF7-96E2-4554-AAD7-F7209E88CAD3",
  "Code": "success"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.