Deletes a quota usage alert.
Operation description
The quota alert feature has been upgraded. This API operation is deprecated and deletes only earlier-version quota usage alerts. To delete new-version quota usage alerts, use the Cloud Monitor API operations DeleteMetricRules and DeleteMetricRuleTargets. For more information, see Manage new-version quota alerts using API operations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:DeleteQuotaAlarm |
delete |
*QuotaAlarm
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlarmId |
string |
Yes |
The ID of the quota alert. Note
For more information about how to obtain the ID of a quota alert, see ListQuotaAlarms. |
6b512ab7-da3a-4142-b529-2b2a9294**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
A95C65B3-7CF4-469E-B1D5-1CA0628A6411 |
Examples
Success response
JSON format
{
"RequestId": "A95C65B3-7CF4-469E-B1D5-1CA0628A6411"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RAM.PERMISSION.DENIED | You are not authorized to do this action or the API input parameter is invalid. | You have no access |
| 400 | ALARM.NOT.FOUND | The AlarmId provided does not exist in our records. | The quota alert does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.