doc-exports/docs/ces/api-ref/ces_03_0030.html
Dong, Qiu Jian 95f84e7c3b Update CES API -20240104 version
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-05-07 11:19:42 +00:00

99 lines
6.8 KiB
HTML

<a name="ces_03_0030"></a><a name="ces_03_0030"></a>
<h1 class="topictitle1">Deleting an Alarm Rule</h1>
<div id="body1467891755154"><div class="section" id="ces_03_0030__section438541220332"><h4 class="sectiontitle">Function</h4><p id="ces_03_0030__p1967410720332">This API is used to delete an alarm rule.</p>
</div>
<div class="section" id="ces_03_0030__section4284924220332"><h4 class="sectiontitle">URI</h4><p id="ces_03_0030__p1484947620332">DELETE /V1.0/{project_id}/alarms/{alarm_id}</p>
<ul id="ces_03_0030__ul4823658720332"><li id="ces_03_0030__li6653642820332">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0030__table6195694220332" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0030__row3240387120332"><th align="left" class="cellrowborder" valign="top" width="19.99%" id="mcps1.3.2.3.1.1.2.4.1.1"><p id="ces_03_0030__p746789920332">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.93%" id="mcps1.3.2.3.1.1.2.4.1.2"><p id="ces_03_0030__p92007920332">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.08%" id="mcps1.3.2.3.1.1.2.4.1.3"><p id="ces_03_0030__p741760420332">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ces_03_0030__row6395507420332"><td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="ces_03_0030__p1297848020332">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="ces_03_0030__p4462392620332">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="59.08%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="ces_03_0030__p5776825320332">Specifies the project ID.</p>
<p id="ces_03_0030__p126259299619">For details about how to obtain the project ID, see <a href="ces_03_0057.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="ces_03_0030__row52895577203555"><td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="ces_03_0030__p56683338203555">alarm_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="ces_03_0030__p27947631203555">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="59.08%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="ces_03_0030__p49165616203555">Specifies the alarm rule ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="ces_03_0030__ul5015223220332"><li id="ces_03_0030__li4871690820332">Example<pre class="screen" id="ces_03_0030__screen18167095195053">DELETE https://{Cloud Eye endpoint}/V1.0/{project_id}/alarms/al1441967036681YkazZ0deN</pre>
</li></ul>
</div>
<div class="section" id="ces_03_0030__section1403745820332"><h4 class="sectiontitle">Request</h4><p id="ces_03_0030__p8267709203856">The request has no message body.</p>
</div>
<div class="section" id="ces_03_0030__section5063939020332"><h4 class="sectiontitle">Response</h4><p id="ces_03_0030__p814989720332">The response has no message body.</p>
</div>
<div class="section" id="ces_03_0030__section624021320332"><h4 class="sectiontitle">Returned Values</h4><ul id="ces_03_0030__ul3569528120332"><li id="ces_03_0030__li5282207320332">Normal<p id="ces_03_0030__p563661620332"><a name="ces_03_0030__li5282207320332"></a><a name="li5282207320332"></a>204</p>
</li><li id="ces_03_0030__li5072955020332">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0030__table46793998" frame="border" border="1" rules="all"><thead align="left"><tr id="ces_03_0030__row65573909"><th align="left" class="cellrowborder" valign="top" width="32.1%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="ces_03_0030__p1849030182924">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="67.9%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="ces_03_0030__p15553712182924">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ces_03_0030__row37564172"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p581987519168">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p164784039168">Request error.</p>
</td>
</tr>
<tr id="ces_03_0030__row66248115"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p2691669168">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p218024949168">The authentication information is not provided or is incorrect.</p>
</td>
</tr>
<tr id="ces_03_0030__row44282627"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p563264059168">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p661449719168">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="ces_03_0030__row1815156"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p355199299168">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p585420329168">The request timed out.</p>
</td>
</tr>
<tr id="ces_03_0030__row25675773"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p630127129168">429 Too Many Requests</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p37560249168">Concurrent requests are excessive.</p>
</td>
</tr>
<tr id="ces_03_0030__row47530006"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p537873819168">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p618106189168">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="ces_03_0030__row20561848"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0030__p298930079168">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0030__p54144829168">The service is currently unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="ces_03_0030__section13819114315466"><h4 class="sectiontitle">Error Codes</h4><p id="ces_03_0030__ces_03_0020_p91851023153416">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ces_03_0026.html">Alarm Rules</a></div>
</div>
</div>