forked from docs/doc-exports
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
341 lines
33 KiB
HTML
341 lines
33 KiB
HTML
<a name="BatchDeleteOneClickAlarms"></a><a name="BatchDeleteOneClickAlarms"></a>
|
|
|
|
<h1 class="topictitle1">Batch Disabling One-Click Monitoring</h1>
|
|
<div id="body8662426"><div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section13722151055714"><h4 class="sectiontitle">Function</h4><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p13723141016576">This API is used to batch disable one-click monitoring.</p>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section27234109576"><h4 class="sectiontitle">URI</h4><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p87233101579">POST /v2/{project_id}/one-click-alarms/batch-delete</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_table1072318108575" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row77236103579"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1372391010574">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p97231410105712">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p972315103575">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p172361095714">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row17723201017574"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p2072419103574">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p157241610145718">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p8724161010572">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="BatchDeleteOneClickAlarms__p1235902804418">Project ID.</p>
|
|
<p id="BatchDeleteOneClickAlarms__p2359102816441">For details about how to obtain the project ID, see <a href="ces_03_0057.html">Obtaining a Project ID</a>.</p>
|
|
<p id="BatchDeleteOneClickAlarms__p1135982817445">Minimum: <strong id="BatchDeleteOneClickAlarms__b171174126234136">1</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__p935919281442">Maximum: <strong id="BatchDeleteOneClickAlarms__b173840268883340">64</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__p9359102810448"><strong id="BatchDeleteOneClickAlarms__b39788514425225">Regular expression matching</strong>: ^[a-zA-Z0-9-]{1,64}$</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section107242010105718"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row12724141045712"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p2724121085712">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p6725191025712">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3725410155714">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p372541013573">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1972420103578"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p372531017574">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p107251710175714">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1725510135717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p8725151017574">MIME type of the request body.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p272541015574">Default: <strong id="BatchDeleteOneClickAlarms__b1191090593948">application/json; charset=UTF-8</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p2725210135718">Minimum: <strong id="BatchDeleteOneClickAlarms__b147443056434136">1</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1672514109570">Maximum: <strong id="BatchDeleteOneClickAlarms__b77103445283340">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row37244102570"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p17725171065714">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p11725131085719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p2725710205710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="BatchDeleteOneClickAlarms__p15714198391">User token. It is a response to the API for obtaining a user token. This API is the only one that does not require authentication. After a response is returned, the value of <strong id="BatchDeleteOneClickAlarms__b63170220833943">X-Subject-Token</strong> in the response header is the token.</p>
|
|
<p id="BatchDeleteOneClickAlarms__p167191913392">Minimum: <strong id="BatchDeleteOneClickAlarms__b125115857434136">1</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__p171101911397">Maximum: <strong id="BatchDeleteOneClickAlarms__b9986480524359">16384</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_request_BatchDeleteOneClickAlarmsRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row472621065710"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p167261110115714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p7726121017571">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p15726810145716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p9726141085717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row97267101577"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p127261110125715">one_click_alarm_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p20726181014573">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p8726510145713">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1372641015575">IDs of services that need to disable one-click monitoring.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1672681014571">Array length: <strong id="BatchDeleteOneClickAlarms__b105708928754716">1</strong> to <strong id="BatchDeleteOneClickAlarms__b151484084854716">100</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__p1553310011200">Range: 1 to 64 characters</p>
|
|
<p id="BatchDeleteOneClickAlarms__p639818010917"><strong id="BatchDeleteOneClickAlarms__b12918566604528">Regular expression matching:</strong> ^([a-z]|[A-Z]|[0-9]){1,64}$</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section17726151065713"><h4 class="sectiontitle">Response Parameters</h4><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p8726201065718"><strong id="BatchDeleteOneClickAlarms__b71460666983019">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_response_BatchDeleteOneClickAlarmsResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1972701012574"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p117271510105716">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p117271105577">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3727510175713">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row117271510195711"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p67271410155717">one_click_alarm_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p147271210125713">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1572721015575">IDs of services for which one-click monitoring was disabled.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p12727101085719">Array length: <strong id="BatchDeleteOneClickAlarms__b75240166154716">1</strong> to <strong id="BatchDeleteOneClickAlarms__b71180559654716">100</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__p18534519182018">Range: 1 to 64 characters</p>
|
|
<p id="BatchDeleteOneClickAlarms__p1753421972017"><strong id="BatchDeleteOneClickAlarms__b15524312754528">Regular expression matching:</strong> ^([a-z]|[A-Z]|[0-9]){1,64}$</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1072791011576"><strong id="BatchDeleteOneClickAlarms__b17352939405417">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_response_GoAPIErrorResponseV2" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row6727111085718"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p27285104571">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p19728121075717">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p272813101574">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row12727151065714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p5728141055719">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p872861014573">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p137281710115712">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p972841055710">Minimum: <strong id="BatchDeleteOneClickAlarms__b98843456874835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p5728171012575">Maximum: <strong id="BatchDeleteOneClickAlarms__b8320239965133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row87286104578"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p47281310175718">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p6728111035712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p157281310205713">Request error message.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p167281910105716">Minimum: <strong id="BatchDeleteOneClickAlarms__b203009617074835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p9728010165718">Maximum: <strong id="BatchDeleteOneClickAlarms__b19004662815133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1172881015716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p11729161065716">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1672981011579">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1372917108571">Request ID.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p197291310155710">Minimum: <strong id="BatchDeleteOneClickAlarms__b57662775674835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p19729171085711">Maximum: <strong id="BatchDeleteOneClickAlarms__b16594928165133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p20729121018579"><strong id="BatchDeleteOneClickAlarms__b1722028040113929">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_table2729171015573" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row157291010185716"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p127291610115719">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p17729101095714">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p673091014577">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row10729191055710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p273031017578">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p157301710125715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p197301610155717">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p157308103574">Minimum: <strong id="BatchDeleteOneClickAlarms__b57790080274835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p873071025717">Maximum: <strong id="BatchDeleteOneClickAlarms__b7546156415133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row4729161011579"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p87301410155719">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p18730161095711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p7730121017578">Request error message.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p177301410125715">Minimum: <strong id="BatchDeleteOneClickAlarms__b198288369574835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p17301510195718">Maximum: <strong id="BatchDeleteOneClickAlarms__b13893928345133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row15729191015579"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1730910185718">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1573011010570">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p18730810205710">Request ID.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p6730121020572">Minimum: <strong id="BatchDeleteOneClickAlarms__b207454198174835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p177301510195711">Maximum: <strong id="BatchDeleteOneClickAlarms__b16310126675133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p87301910115715"><strong id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_b5731101055710">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_table0731141018573" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row6731141045719"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p197311710105714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p0731510165719">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p9731101085710">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row873161010577"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1473110104575">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1573131018575">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p10731110165719">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p573171095712">Minimum: <strong id="BatchDeleteOneClickAlarms__b78293694574835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p10731171012579">Maximum: <strong id="BatchDeleteOneClickAlarms__b7027505135133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row13731151014579"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p37315106571">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p5732201013575">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1173281085711">Request error message.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p073281045713">Minimum: <strong id="BatchDeleteOneClickAlarms__b164716189074835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p11732410115719">Maximum: <strong id="BatchDeleteOneClickAlarms__b8534989595133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row2073115104575"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p5732510125713">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3732131016576">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p47321710185717">Request ID.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1732101017571">Minimum: <strong id="BatchDeleteOneClickAlarms__b106742829674835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p187326105571">Maximum: <strong id="BatchDeleteOneClickAlarms__b10474396715133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p4732510125710"><strong id="BatchDeleteOneClickAlarms__b126540186132018">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_table973241016578" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row5732410155717"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3733310185715">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p373321055713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.11.2.4.1.3"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p137331210155718">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row19732131095717"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p147335104578">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p0733161014573">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p4733191016571">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p16733610145715">Minimum: <strong id="BatchDeleteOneClickAlarms__b121636633974835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3733810125719">Maximum: <strong id="BatchDeleteOneClickAlarms__b18844218895133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row12732141015578"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p17733910165716">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p673315103574">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1073313101576">Request error message.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1873391013574">Minimum: <strong id="BatchDeleteOneClickAlarms__b53905840174835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p3733161015573">Maximum: <strong id="BatchDeleteOneClickAlarms__b20296932045133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row37327108571"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1173321055712">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p47338105572">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p5734710185711">Request ID.</p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p16734151075717">Minimum: <strong id="BatchDeleteOneClickAlarms__b149760127574835">0</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p9734181019578">Maximum: <strong id="BatchDeleteOneClickAlarms__b10527232775133">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section47341110175718"><h4 class="sectiontitle">Example Requests</h4><p id="BatchDeleteOneClickAlarms__p18936193862217">Batch disable one-click motoring.</p>
|
|
<pre class="screen" id="BatchDeleteOneClickAlarms__screen1211114718229">POST /v2/{project_id}/one-click-alarms/batch-delete</pre>
|
|
<p id="BatchDeleteOneClickAlarms__p55715212243">Request body:</p>
|
|
<pre class="screen" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_screen137341510175714">{
|
|
"one_click_alarm_ids" : [ "o1619578505263QkW3b66yo" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section8734410155710"><h4 class="sectiontitle">Example Responses</h4><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1673481015713"><strong id="BatchDeleteOneClickAlarms__b103556784283019">Status code: 200</strong></p>
|
|
<p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p157341410145719">Operation succeeded.</p>
|
|
<pre class="screen" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_screen473491017577">{
|
|
"one_click_alarm_ids" : [ "o1619578505263QkW3b66yo" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section2734131018575"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1734121018575"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p4735110145712">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p187351910175711">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1373431020574"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p127358108571">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p12735151015570">Operation succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row12735141055711"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p2735110205716">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p137353104571">Parameter verification failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row2735101065713"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p19735010105711">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p197351010165718">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row8735110165715"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p10735201075717">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p273551017578">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_row1573501015719"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p4735141005714">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1573551055718">Failed to complete the request because of an internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_section473591020570"><h4 class="sectiontitle">Error Codes</h4><p id="BatchDeleteOneClickAlarms__en-us_topic_0000001678001728_p1473611035718">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000009.html">One-Click Monitoring</a></div>
|
|
</div>
|
|
</div>
|
|
|