Updated on 2025-11-06 GMT+08:00

Deleting the Specified Archive Rule

Function

This API is used to delete the specified archive rule.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

Action

Access Level

Resource Type (*: required)

Condition Key

Alias

Dependencies

AccessAnalyzer:archiveRule:delete

Write

archiveRule *

-

-

-

URI

DELETE /v5/analyzers/{analyzer_id}/archive-rules/{archive_rule_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

analyzer_id

Yes

String

Unique identifier of an analyzer

Minimum: 1

Maximum: 36

archive_rule_id

Yes

String

Unique identifier of an archive rule

Minimum: 1

Maximum: 36

Request Parameters

None

Response Parameters

Status code: 204

Deleted

None

Example Requests

Deleting the specified archive rule

DELETE https://{hostname}/v5/analyzers/{analyzer_id}/archive-rules/{archive_rule_id}

Example Responses

None

Status Codes

Status Code

Description

204

Deleted

Error Codes

See Error Codes.