forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: liusiying77 <liusiying@huawei.com> Co-committed-by: liusiying77 <liusiying@huawei.com>
72 lines
7.0 KiB
HTML
72 lines
7.0 KiB
HTML
<a name="lts_02_0009"></a><a name="lts_02_0009"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a log stream</h1>
|
|
<div id="body8662426"><div class="section" id="lts_02_0009__en-us_topic_0169936668_section47241003"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="lts_02_0009__en-us_topic_0169936668_p20801781">This function describes how to delete a log stream that will not be used.</p>
|
|
<div class="note" id="lts_02_0009__en-us_topic_0169936668_note16296151314718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="lts_02_0009__en-us_topic_0169936668_p17297113072">Before deleting a log stream, ensure that the log stream has no log transfer tasks. Deleted log streams cannot be recovered. Therefore, exercise caution when performing this deletion operation.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__en-us_topic_0169936668_section22515847"><h4 class="sectiontitle">URI</h4><ul id="lts_02_0009__en-us_topic_0169936668_ul165395536212"><li id="lts_02_0009__en-us_topic_0169936668_li5269929173052">URI format<p id="lts_02_0009__en-us_topic_0169936668_p1314619810159"><a name="lts_02_0009__en-us_topic_0169936668_li5269929173052"></a><a name="en-us_topic_0169936668_li5269929173052"></a>DELETE /v2.0/{project_id}/log-groups/{group_id}/log-topics/{topic_id}</p>
|
|
</li></ul>
|
|
<ul id="lts_02_0009__en-us_topic_0169936668_ul0109191102213"><li class="msonormal" id="lts_02_0009__en-us_topic_0169936668_li21091415229">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_02_0009__en-us_topic_0169936668_table4681258" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="lts_02_0009__en-us_topic_0169936668_row27052584"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.2.5.1.1"><p id="lts_02_0009__en-us_topic_0169936668_p43775699"><strong id="lts_02_0009__en-us_topic_0169936668_b128317754613">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.2.5.1.2"><p id="lts_02_0009__en-us_topic_0169936668_p56170706"><strong id="lts_02_0009__en-us_topic_0169936668_b1819188124617">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.2.5.1.3"><p id="lts_02_0009__en-us_topic_0169936668_p53533326"><strong id="lts_02_0009__en-us_topic_0169936668_b12937918465">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.2.5.1.4"><p id="lts_02_0009__en-us_topic_0169936668_p41232110"><strong id="lts_02_0009__en-us_topic_0169936668_b1287389104610">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_02_0009__en-us_topic_0169936668_row51466586"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__en-us_topic_0169936668_p8043963">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="lts_02_0009__en-us_topic_0169936668_p47581305">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="lts_02_0009__en-us_topic_0169936668_p28880507">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="lts_02_0009__en-us_topic_0169936668_p57619754">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_02_0009__en-us_topic_0169936668_row48815741"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__en-us_topic_0169936668_p61760986">group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="lts_02_0009__en-us_topic_0169936668_p36583959">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="lts_02_0009__en-us_topic_0169936668_p10510684">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="lts_02_0009__en-us_topic_0169936668_p46059090">ID of a created log group</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_02_0009__en-us_topic_0169936668_row11878631"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__en-us_topic_0169936668_p22645032">topic_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="lts_02_0009__en-us_topic_0169936668_p22308335">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="lts_02_0009__en-us_topic_0169936668_p62144673">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="lts_02_0009__en-us_topic_0169936668_p553768">ID of a created log stream</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__en-us_topic_0169936668_section1316036"><h4 class="sectiontitle">Request</h4><ul id="lts_02_0009__en-us_topic_0169936668_ul44855276"><li id="lts_02_0009__en-us_topic_0169936668_li1044304">Request parameters<p id="lts_02_0009__en-us_topic_0169936668_p9398740"><a name="lts_02_0009__en-us_topic_0169936668_li1044304"></a><a name="en-us_topic_0169936668_li1044304"></a>None</p>
|
|
</li><li id="lts_02_0009__en-us_topic_0169936668_li17479801">Example request<pre class="screen" id="lts_02_0009__en-us_topic_0169936668_screen23100489">DELETE /v2.0/{project_id}/log-groups/{group_id}/log-topics/{topic_id}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__en-us_topic_0169936668_section11844332"><h4 class="sectiontitle">Response</h4><ul id="lts_02_0009__en-us_topic_0169936668_ul59200306"><li id="lts_02_0009__en-us_topic_0169936668_li63040710">Parameter description<p id="lts_02_0009__en-us_topic_0169936668_p30495480"><a name="lts_02_0009__en-us_topic_0169936668_li63040710"></a><a name="en-us_topic_0169936668_li63040710"></a>None</p>
|
|
</li><li id="lts_02_0009__en-us_topic_0169936668_li6023865">Example response<p id="lts_02_0009__en-us_topic_0169936668_p54214786"><a name="lts_02_0009__en-us_topic_0169936668_li6023865"></a><a name="en-us_topic_0169936668_li6023865"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__en-us_topic_0169936668_section39490126"><h4 class="sectiontitle">Returned Value</h4><ul id="lts_02_0009__en-us_topic_0169936668_ul29321528"><li id="lts_02_0009__en-us_topic_0169936668_li62567168">Normal<p id="lts_02_0009__en-us_topic_0169936668_p6623114915458"><a name="lts_02_0009__en-us_topic_0169936668_li62567168"></a><a name="en-us_topic_0169936668_li62567168"></a>204</p>
|
|
</li><li id="lts_02_0009__en-us_topic_0169936668_li44860134">Abnormal<p id="lts_02_0009__en-us_topic_0169936668_p8911139194318"><a name="lts_02_0009__en-us_topic_0169936668_li44860134"></a><a name="en-us_topic_0169936668_li44860134"></a>For details, see <a href="lts_api_0020.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_02_0006.html">Log Stream Management (Old Version)</a></div>
|
|
</div>
|
|
</div>
|
|
|