Updated on 2025-03-25 GMT+08:00

Deleting a Policy

Function

This API is used to delete a policy.

Calling Method

For details, see Calling APIs.

URI

DELETE /v2/{cloudProjectId}/rule-sets/{ruleSetId}/delete

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

cloudProjectId

Yes

String

Project ID.

ruleSetId

Yes

String

Policy ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

status

Boolean

Successful or not.

Example Requests

DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/rule-sets/2f4a244eff3442f0befd6df80a1eabec/delete

Example Responses

None

Status Codes

Status Code

Description

200

{

"status": true

}

Error Codes

See Error Codes.