forked from docs/doc-exports
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>
72 lines
5.6 KiB
HTML
72 lines
5.6 KiB
HTML
<a name="lts_02_0009"></a><a name="lts_02_0009"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a log stream</h1>
|
|
<div id="body65708667"><div class="section" id="lts_02_0009__section47241003"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="lts_02_0009__p20801781">This function describes how to delete a log stream that will not be used.</p>
|
|
<div class="note" id="lts_02_0009__note16296151314718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="lts_02_0009__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__section22515847"><h4 class="sectiontitle">URI</h4><ul id="lts_02_0009__ul165395536212"><li id="lts_02_0009__li5269929173052">URI format<p id="lts_02_0009__p1314619810159"><a name="lts_02_0009__li5269929173052"></a><a name="li5269929173052"></a>DELETE /v2.0/{project_id}/log-groups/{group_id}/log-topics/{topic_id}</p>
|
|
</li></ul>
|
|
<ul id="lts_02_0009__ul0109191102213"><li class="msonormal" id="lts_02_0009__li21091415229">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_02_0009__table4681258" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="lts_02_0009__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__p43775699"><strong id="lts_02_0009__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__p56170706"><strong id="lts_02_0009__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__p53533326"><strong id="lts_02_0009__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__p41232110"><strong id="lts_02_0009__b1287389104610">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_02_0009__row51466586"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__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__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__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__p57619754">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_02_0009__row48815741"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__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__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__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__p46059090">ID of a created log group</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_02_0009__row11878631"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="lts_02_0009__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__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__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__p553768">ID of a created log stream</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__section1316036"><h4 class="sectiontitle">Request</h4><ul id="lts_02_0009__ul44855276"><li id="lts_02_0009__li1044304">Request parameters<p id="lts_02_0009__p9398740"><a name="lts_02_0009__li1044304"></a><a name="li1044304"></a>None</p>
|
|
</li><li id="lts_02_0009__li17479801">Example request<pre class="screen" id="lts_02_0009__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__section11844332"><h4 class="sectiontitle">Response</h4><ul id="lts_02_0009__ul59200306"><li id="lts_02_0009__li63040710">Parameter description<p id="lts_02_0009__p30495480"><a name="lts_02_0009__li63040710"></a><a name="li63040710"></a>None</p>
|
|
</li><li id="lts_02_0009__li6023865">Example response<p id="lts_02_0009__p54214786"><a name="lts_02_0009__li6023865"></a><a name="li6023865"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="lts_02_0009__section39490126"><h4 class="sectiontitle">Returned Value</h4><ul id="lts_02_0009__ul29321528"><li id="lts_02_0009__li62567168">Normal<p id="lts_02_0009__p6623114915458"><a name="lts_02_0009__li62567168"></a><a name="li62567168"></a>204</p>
|
|
</li><li id="lts_02_0009__li44860134">Abnormal<p id="lts_02_0009__p8911139194318"><a name="lts_02_0009__li44860134"></a><a name="li44860134"></a>For details about status code, see <a href="lts_02_0020.html">Status Code</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>
|
|
|