
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2026-03-18 14:12:49
Here is the full English translation, formatted consistently with the previous pages:
Call the DeleteAlarmPolicy API to delete one or more alarm policies configured under the specified account.
Field | Value |
|---|---|
API Name | DeleteAlarmPolicy |
Request Method | POST |
Endpoint |
|
VPC Internal Endpoint |
|
Version |
|
All requests must include the Common Request Parameters. The table below lists only the API-specific parameters.
Parameter | Required | Type | Description |
|---|---|---|---|
| Yes | String | Fixed value: |
| Yes | String | Fixed value: |
| Yes | []Integer | List of alarm policy IDs to delete. To retrieve policy IDs, see Query Alarm Policies. |
Field | Type | Description |
|---|---|---|
| String | Unique request ID. Can be used for troubleshooting. |
Replace
${region}with the appropriate region code. See: Region Reference. Replace${CommonParams}with the appropriate common parameters. See: Common Parameters.
curl -X POST 'https://monitor.${region}.api.ksyun.com/?Action=DeleteAlarmPolicy&Version=2022-01-01' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'host: monitor.api.ksyun.com' \
-H 'cache-control: no-cache' \
-H ${CommonParams} \
-d '{
"PolicyIds": [26562, 26563]
}'Both XML and JSON formats are supported. A successful deletion returns only the request ID with no additional data payload.
JSON Format
{
"requestId": "xxxx"
}XML Format
<RequestId>xxxxx</RequestId>The table below lists only the error codes specific to this API's business logic. For all other error codes, refer to Common Error Codes.
Pure Mode