doc-exports/docs/lts/api-ref/lts_api_0014.html
Hasko, Vladimir 255730fbf9 lts_api (recreate of #279)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:17:17 +00:00

286 lines
24 KiB
HTML

<a name="lts_api_0014"></a><a name="lts_api_0014"></a>
<h1 class="topictitle1">Deleting a Log Group</h1>
<div id="body32001227"><div class="section" id="lts_api_0014__en-us_topic_0160681586_section20361933202815"><h4 class="sectiontitle">Function</h4><p id="lts_api_0014__en-us_topic_0160681586_p133773318282">This API is used to delete a specified log group. If the log streams in a log group have been associated with log transfer tasks, you need to delete the tasks first.</p>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section203713312812"><h4 class="sectiontitle">URI</h4><p id="lts_api_0014__en-us_topic_0160681586_p837103320289">DELETE /v2/{project_id}/groups/{log_group_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table103783322812" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row537133152813"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p1638233172811">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.2.3.2.5.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p23813334287">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p15381833182816">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.3.2.5.1.4"><p id="lts_api_0014__en-us_topic_0160681586_p1138163352818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row837233172814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p17381233182817">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p1538123372810">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p139193372812">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="lts_api_0014__en-us_topic_0160681586_p43913338283">Project ID. For details about how to obtain the ID, see <a href="lts_api_0006.html#lts_api_0006">Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID</a>. Default value: None</p>
<p id="lts_api_0014__en-us_topic_0160681586_p183963310287">Value length: 32 characters</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row937163313283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p193911331287">log_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p5391733142811">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p539103332815">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="lts_api_0014__en-us_topic_0160681586_p14401833122812">Log group ID. For details about how to obtain a log group ID, see <a href="lts_api_0006.html#lts_api_0006">Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID</a>.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p154053382814">Default value: None</p>
<p id="lts_api_0014__en-us_topic_0160681586_p94073317289">Value length: 36 characters</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section64053312285"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row174017332287"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p13418333289">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.2.2.5.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p6411633182819">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p441033112813">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="lts_api_0014__en-us_topic_0160681586_p134103310288">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row134013319286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p4416336289">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p1442833192811">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p1342193362810">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="lts_api_0014__en-us_topic_0160681586_p1342933102815">User token obtained from IAM.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p18426331282">Default value: None</p>
<p id="lts_api_0014__en-us_topic_0160681586_p24273311285">Minimum length: 1000 characters</p>
<p id="lts_api_0014__en-us_topic_0160681586_p1142143319283">Maximum length: 2000 characters</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row140133342816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p54263392820">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p742193312289">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p6432335281">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="lts_api_0014__en-us_topic_0160681586_p9788183218282">Set this parameter to <strong id="lts_api_0014__en-us_topic_0160681586_b1297215396536">application/json;charset=UTF-8</strong>.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p1078803220288">Default value: None</p>
<p id="lts_api_0014__en-us_topic_0160681586_p57889324284">Minimum length: 30 characters</p>
<p id="lts_api_0014__en-us_topic_0160681586_p87881032112819">Maximum length: 30 characters</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section184314332287"><h4 class="sectiontitle">Response Parameters</h4><p id="lts_api_0014__en-us_topic_0160681586_p19451133142811"><strong id="lts_api_0014__en-us_topic_0160681586_b1558731617444">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table1845183318281" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row16452338286"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p44633320286">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p1464332286">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p16461433152816">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row24513382811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p144643352810">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p846433112812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p74618338289">Error code.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p194653352812">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul546183320287"><li id="lts_api_0014__en-us_topic_0160681586_li7471433182814"><strong id="lts_api_0014__en-us_topic_0160681586_b17840161875710">LTS.0403</strong></li></ul>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row11451833192811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p114753319285">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p64733310289">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p15476331288">Error message.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p947103317289">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul13472332283"><li id="lts_api_0014__en-us_topic_0160681586_li4471133162814"><strong id="lts_api_0014__en-us_topic_0160681586_b0297132235711">Invalid projectId</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<p id="lts_api_0014__en-us_topic_0160681586_p144773332811"><strong id="lts_api_0014__en-us_topic_0160681586_b9774181913449">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table144853316282" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row54843392811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p1348143314288">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p5481433162817">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p11481933132818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row16481933122818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p6491833162810">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p1449143322817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p149833132819">Error code.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p549173318282">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul11494334286"><li id="lts_api_0014__en-us_topic_0160681586_li449133310288"><strong id="lts_api_0014__en-us_topic_0160681586_b13495202913570">LTS.0403</strong></li></ul>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row15481533162818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p649153392810">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p549133192815">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p1749533152817">Error message.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p1950153314283">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul1250033182813"><li id="lts_api_0014__en-us_topic_0160681586_li55012331280"><strong id="lts_api_0014__en-us_topic_0160681586_b14799321576">Invalid projectId</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<p id="lts_api_0014__en-us_topic_0160681586_p16501133142818"><strong id="lts_api_0014__en-us_topic_0160681586_b111011523204415">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table450193316286" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row05083310283"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p650123382810">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p1251193312817">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p10512331286">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row175093312813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p751533162818">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p1951143310288">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p05153372814">Error code.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p16512332286">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul17515334284"><li id="lts_api_0014__en-us_topic_0160681586_li14511533152812"><strong id="lts_api_0014__en-us_topic_0160681586_b174817441576">LTS.0403</strong></li></ul>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row1450113312813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p10511933112820">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p55217331288">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p1852173322816">Error message.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p195243342818">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul35253313283"><li id="lts_api_0014__en-us_topic_0160681586_li2052113382814"><strong id="lts_api_0014__en-us_topic_0160681586_b9335194985716">Invalid projectId</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<p id="lts_api_0014__en-us_topic_0160681586_p185223332818"><strong id="lts_api_0014__en-us_topic_0160681586_b108602026114417">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table1852633162811" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row1521833142818"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p20535331287">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p3536333283">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="lts_api_0014__en-us_topic_0160681586_p17531733192817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row35283322816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p1053233192815">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p453183362817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p135313392810">Error code.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p175312337280">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul1054163372813"><li id="lts_api_0014__en-us_topic_0160681586_li1454123382812"><strong id="lts_api_0014__en-us_topic_0160681586_b17887354135716">LTS.0403</strong></li></ul>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row752133112818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p1354173372818">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p85473315283">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="lts_api_0014__en-us_topic_0160681586_p105416339285">Error message.</p>
<p id="lts_api_0014__en-us_topic_0160681586_p654143372815">Enumerated value:</p>
<ul id="lts_api_0014__en-us_topic_0160681586_ul95483322815"><li id="lts_api_0014__en-us_topic_0160681586_li175423314284"><strong id="lts_api_0014__en-us_topic_0160681586_b12759259185712">Invalid projectId</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section2561733142814"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="lts_api_0014__en-us_topic_0160681586_screen95693332812">DELETE https://{endpoint}/v2/{project_id}/groups/{log_group_id}
/v2/{project_id}/groups/{log_group_id}</pre>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section145619334283"><h4 class="sectiontitle">Example Response</h4><p id="lts_api_0014__en-us_topic_0160681586_p185623372815"><strong id="lts_api_0014__en-us_topic_0160681586_b10828163194415">Status code: 400</strong></p>
<p id="lts_api_0014__en-us_topic_0160681586_p125633312820">The request is invalid. Modify the request based on the description in <strong id="lts_api_0014__en-us_topic_0160681586_b19897171514337">error_msg</strong> before a retry.</p>
<pre class="screen" id="lts_api_0014__en-us_topic_0160681586_screen195733311284">{
"error_code" : "LTS.0201",
"error_msg" : "The log group is not existed"
}</pre>
<p id="lts_api_0014__en-us_topic_0160681586_p17573336289"><strong id="lts_api_0014__en-us_topic_0160681586_b1169293464418">Status code: 401</strong></p>
<p id="lts_api_0014__en-us_topic_0160681586_p857173320287">Authentication failed. Check the token and try again.</p>
<pre class="screen" id="lts_api_0014__en-us_topic_0160681586_screen3571533112814">{
"error_code" : "LTS.0003",
"error_msg" : "Invalid token"
}</pre>
<p id="lts_api_0014__en-us_topic_0160681586_p19574332289"><strong id="lts_api_0014__en-us_topic_0160681586_b11230153794420">Status code: 403</strong></p>
<p id="lts_api_0014__en-us_topic_0160681586_p16588331289">The server understood the request but refused to authorize it. The client should not repeat the request without modifications.</p>
<pre class="screen" id="lts_api_0014__en-us_topic_0160681586_screen258193352810">{
"error_code" : "LTS.0001",
"error_msg" : "Invalid projectId"
}</pre>
<p id="lts_api_0014__en-us_topic_0160681586_p15582033192811"><strong id="lts_api_0014__en-us_topic_0160681586_b589493913444">Status code: 500</strong></p>
<p id="lts_api_0014__en-us_topic_0160681586_p95816338286">The server has received the request but encountered an internal error.</p>
<pre class="screen" id="lts_api_0014__en-us_topic_0160681586_screen205811339289">{
"error_code" : "LTS.0103",
"error_msg" : "Failed to delete log group"
}</pre>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section165903382815"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0014__en-us_topic_0160681586_table5772" frame="border" border="1" rules="all"><thead align="left"><tr id="lts_api_0014__en-us_topic_0160681586_row05923310281"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="lts_api_0014__en-us_topic_0160681586_p185963313280">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="lts_api_0014__en-us_topic_0160681586_p145918332284">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="lts_api_0014__en-us_topic_0160681586_row459203316281"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p155913332281">204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p1260123372819">The request has succeeded and the log group has been deleted.</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row7597332280"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p12601233162813">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p126093362812">The request is invalid. Modify the request based on the description in <strong id="lts_api_0014__en-us_topic_0160681586_b138514543416">error_msg</strong> before a retry.</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row1759193312816"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p46033342814">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p116043314282">Authentication failed. Check the token and try again.</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row1559833192817"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p1060533142814">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p561233112820">The server understood the request but refused to authorize it. The client should not repeat the request without modifications.</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row85903392819"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p156113310286">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p10611833182817">The server has received the request but encountered an internal error.</p>
</td>
</tr>
<tr id="lts_api_0014__en-us_topic_0160681586_row459183362811"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0014__en-us_topic_0160681586_p10611533182819">503</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0014__en-us_topic_0160681586_p561163392810">The requested service is unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="lts_api_0014__en-us_topic_0160681586_section2611033172812"><h4 class="sectiontitle">Error Codes</h4><p id="lts_api_0014__en-us_topic_0160681586_p362113352814">For details, see <a href="lts_02_0021.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_api_0011.html">Log Group Management (New Version)</a></div>
</div>
</div>