Files
doc-exports/docs/ces/api-ref/BatchDeleteAlarmTemplates.html
qiujiandong1 e9265fb6b0 CES API Update -20250521 version
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-12-05 10:48:24 +00:00

333 lines
32 KiB
HTML

<a name="BatchDeleteAlarmTemplates"></a><a name="BatchDeleteAlarmTemplates"></a>
<h1 class="topictitle1">Batch Deleting Custom Alarm Templates</h1>
<div id="body8662426"><div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section789620143513"><h4 class="sectiontitle">Function</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p989610142517">This API is used to delete custom alarm templates in batches.</p>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section1189619140518"><h4 class="sectiontitle">URI</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p118962144514">POST /v2/{project_id}/alarm-templates/batch-delete</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_table289661419518" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row58961014195116"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p389610148513">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1589718142514">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p68971314125114">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p20897111425116">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row48961614145113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p2897141425110">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p11897161413517">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p5897101410517">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="BatchDeleteAlarmTemplates__p42316702175455">Project ID.</p>
<p id="BatchDeleteAlarmTemplates__p191415137612">For details about how to obtain the project ID, see <a href="ces_03_0057.html">Obtaining a Project ID</a>.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001646899046_p18100524114814">Minimum: <strong id="BatchDeleteAlarmTemplates__b7653367303419">1</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001646899046_p81001524104817">Maximum: <strong id="BatchDeleteAlarmTemplates__b150917962383312">64</strong></p>
<p id="BatchDeleteAlarmTemplates__p4697184133915"><strong id="BatchDeleteAlarmTemplates__b107544391725133">Regular expression matching</strong>: ^[a-zA-Z0-9-]{1,64}$</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section14897141465110"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row1789781419516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p08981014175110">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p189891435113">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1689891445111">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p188981614165114">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row889712148510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p188981114145110">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p19898101495114">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1789861413518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="BatchDeleteAlarmTemplates__p13458194367">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="BatchDeleteAlarmTemplates__b138863792933915">X-Subject-Token</strong> in the response header is the token.</p>
<p id="BatchDeleteAlarmTemplates__p164541915361">Minimum: <strong id="BatchDeleteAlarmTemplates__b5807882433419">1</strong></p>
<p id="BatchDeleteAlarmTemplates__p1245219193615">Maximum: <strong id="BatchDeleteAlarmTemplates__b2397338344329">16384</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_request_BatchDeleteAlarmTemplatesRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row198982144510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p11899101412511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p178995147511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p138991114205120">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p6899141419511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row989820147512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1789951425112">template_ids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p68991314185115">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p128995146512">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p889913141517">IDs of the alarm templates to be deleted in batches. Alarm templates that are not associated with alarm rules can be deleted in batches. For alarm templates that are associated with alarm rules, you can delete only one alarm template at a time. If you delete multiple ones, an exception will be returned.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p7899111455110">Array length: <strong id="BatchDeleteAlarmTemplates__b20713137975479">1</strong> to <strong id="BatchDeleteAlarmTemplates__b7283470605479">100</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row489881495111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p4899101411511">delete_associate_alarm</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p389961405119">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p98994147517">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p189915146518">Whether alarm rules associated with an alarm template will be deleted when you delete the alarm template. <strong id="BatchDeleteAlarmTemplates__b3674183983713">true</strong> indicates that the alarm rules will be deleted. <strong id="BatchDeleteAlarmTemplates__b14266741183713">false</strong> indicates that only the alarm template will be deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section089961475111"><h4 class="sectiontitle">Response Parameters</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p289916141518"><strong id="BatchDeleteAlarmTemplates__b10579491882956">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_response_BatchDeleteAlarmTemplatesResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row39002145512"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p89004147515">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p59001614165115">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p9900151416519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row11900114145118"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p14900141495110">template_ids</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1890041465113">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p18900181415120">IDs of alarm templates that were deleted.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p169001814135112">Array length: <strong id="BatchDeleteAlarmTemplates__b15258399035479">1</strong> to <strong id="BatchDeleteAlarmTemplates__b7022457815479">100</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p16900151418513"><strong id="BatchDeleteAlarmTemplates__b39200921354037">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_response_GoAPIErrorResponseV2" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row79001414125112"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1690141425115">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p109011914205116">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1490191465116">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row5901121413517"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p2901414185117">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p119011114165113">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p12901131411514">Status code customized by each cloud service when a request error occurs.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p18901151495110">Minimum: <strong id="BatchDeleteAlarmTemplates__b7958935247487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p89011414165110">Maximum: <strong id="BatchDeleteAlarmTemplates__b7842746851235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row1990111146511"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p15901151465111">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p2901141465112">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p390171485114">Request error message.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p3901191413514">Minimum: <strong id="BatchDeleteAlarmTemplates__b6629354967487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p59011614175110">Maximum: <strong id="BatchDeleteAlarmTemplates__b9070763351235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row19901131415518"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p18902111411514">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1990251465119">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p179021814175116">Request ID.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p7902514155120">Minimum: <strong id="BatchDeleteAlarmTemplates__b20026011137487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p11902114155111">Maximum: <strong id="BatchDeleteAlarmTemplates__b58829875851235">256</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1902101414519"><strong id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_b129020146512">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_table59020142518" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row7902814125116"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690261412514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p190211455116">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p169021814185113">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row2090271418516"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p18903151415116">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p109031614135118">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p18903111415515">Status code customized by each cloud service when a request error occurs.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p169032142512">Minimum: <strong id="BatchDeleteAlarmTemplates__b12376251867487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p39033149518">Maximum: <strong id="BatchDeleteAlarmTemplates__b144160390251235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row209024142511"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1290315146514">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p12903161411518">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1090316141511">Request error message.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p29031014105119">Minimum: <strong id="BatchDeleteAlarmTemplates__b9603682027487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p590321455117">Maximum: <strong id="BatchDeleteAlarmTemplates__b12055790351235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row16902161415113"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1690331475118">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p17903101413514">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p119037140511">Request ID.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p7903914155119">Minimum: <strong id="BatchDeleteAlarmTemplates__b4990202447487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1090311142515">Maximum: <strong id="BatchDeleteAlarmTemplates__b33672601551235">256</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p790318145514"><strong id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_b1990320140511">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_table17903191412517" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row8904714145119"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p14904181445119">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1590451495113">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690431414510">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row1190441465116"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p490421465115">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p490471475118">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p10904131410513">Status code customized by each cloud service when a request error occurs.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p8904191411511">Minimum: <strong id="BatchDeleteAlarmTemplates__b763400367487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p179043143516">Maximum: <strong id="BatchDeleteAlarmTemplates__b181803698451235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row290410140516"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p109042014155116">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p990421455112">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p189042146514">Request error message.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p590441413510">Minimum: <strong id="BatchDeleteAlarmTemplates__b16214614777487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690551415517">Maximum: <strong id="BatchDeleteAlarmTemplates__b100685967451235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row179041014155120"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1690514143510">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p5905161435111">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1890510144518">Request ID.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690561465111">Minimum: <strong id="BatchDeleteAlarmTemplates__b5936647687487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p490511435110">Maximum: <strong id="BatchDeleteAlarmTemplates__b31505983851235">256</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690510147516"><strong id="BatchDeleteAlarmTemplates__b43052622831950">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_table490521435116" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row9905111455110"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1390561435114">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p16906614205117">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.11.2.4.1.3"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p090671418517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row189051514125116"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p990611420514">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p13906131435119">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1590613146510">Status code customized by each cloud service when a request error occurs.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p490651417517">Minimum: <strong id="BatchDeleteAlarmTemplates__b19514023277487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p13906814155118">Maximum: <strong id="BatchDeleteAlarmTemplates__b22561575251235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row12905191475113"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p139061514115117">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690651413518">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1890611415515">Request error message.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p2090641445110">Minimum: <strong id="BatchDeleteAlarmTemplates__b21358462007487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p199068146516">Maximum: <strong id="BatchDeleteAlarmTemplates__b54546526851235">256</strong></p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row12905201417517"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p690613146515">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p790681420514">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p390619149511">Request ID.</p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p139062014125116">Minimum: <strong id="BatchDeleteAlarmTemplates__b3514309507487">0</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p189061214175116">Maximum: <strong id="BatchDeleteAlarmTemplates__b146377899851235">256</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section11907114125110"><h4 class="sectiontitle">Example Requests</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p169071714195116">Deleting custom alarm templates in batches</p>
<pre class="screen" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_screen149071144516">{
"template_ids" : [ "at1628592157541dB1klWgY6" ],
"delete_associate_alarm" : false
}</pre>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section1490711147516"><h4 class="sectiontitle">Example Responses</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1190751425111"><strong id="BatchDeleteAlarmTemplates__b13185013682956">Status code: 200</strong></p>
<p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p990714142515">IDs of the templates deleted.</p>
<pre class="screen" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_screen1890791405118">{
"template_ids" : [ "at1628592157541dB1klWgY6" ]
}</pre>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section5907181425114"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row18907141418512"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p139085149515">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p17908181410514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row179072014205113"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p13908111455113">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p79081014195110">IDs of the templates deleted.</p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row1390711415115"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p990851455117">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p69081143512">Parameter verification failed.</p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row9907151435116"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p590819143513">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p16908101410519">Authentication failed.</p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row090731465118"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p29081114145112">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p1890813146510">Authentication failed.</p>
</td>
</tr>
<tr id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_row590791425116"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p8908121412511">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p29085148514">Failed to complete the request because of an internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_section3908914185116"><h4 class="sectiontitle">Error Codes</h4><p id="BatchDeleteAlarmTemplates__en-us_topic_0000001695052761_p0908121485116">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_300000005.html">Alarm Templates</a></div>
</div>
</div>