forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Ying, Jiayu <jiayuying1@huawei.com> Co-committed-by: Ying, Jiayu <jiayuying1@huawei.com>
111 lines
9.0 KiB
HTML
111 lines
9.0 KiB
HTML
<a name="en-us_topic_0168602223"></a><a name="en-us_topic_0168602223"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Tracker</h1>
|
|
<div id="body1481525738173"><div class="section" id="en-us_topic_0168602223__section15349251"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0168602223__p56261663">This API is used to delete a tracker. Deleting a tracker has no impact on the operation records that have been generated. When you enable CTS again, you can still view those records.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602223__section3925534"><h4 class="sectiontitle">URI</h4><p id="en-us_topic_0168602223__p2023384203029">DELETE /v1.0/{project_id}/tracker?tracker_name={tracker_name}</p>
|
|
<div class="p" id="en-us_topic_0168602223__p44461552102">The URI parameters are described in <a href="#en-us_topic_0168602223__table4080300">Table1 Parameters in the URI</a>.
|
|
<div class="tablenoborder"><a name="en-us_topic_0168602223__table4080300"></a><a name="table4080300"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602223__table4080300" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the URI</caption><thead align="left"><tr id="en-us_topic_0168602223__row23192694"><th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.2.3.2.2.5.1.1"><p id="en-us_topic_0168602223__p66668934"><strong id="en-us_topic_0168602223__b842352706115038">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32%" id="mcps1.3.2.3.2.2.5.1.2"><p id="en-us_topic_0168602223__p31474554"><strong id="en-us_topic_0168602223__b842352706115041">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.2.2.5.1.3"><p id="en-us_topic_0168602223__p66410939"><strong id="en-us_topic_0168602223__b842352706115043">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.2.2.5.1.4"><p id="en-us_topic_0168602223__p10576944"><strong id="en-us_topic_0168602223__b842352706115045">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602223__row51426113"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="en-us_topic_0168602223__p4765656">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="en-us_topic_0168602223__p50473818">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="en-us_topic_0168602223__p61847473">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="en-us_topic_0168602223__p43589445">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602223__row20031075143358"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="en-us_topic_0168602223__p1850775014343">tracker_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="en-us_topic_0168602223__p2273281814343">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="en-us_topic_0168602223__p2941893714343">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="en-us_topic_0168602223__p3412371714343">Tracker name.</p>
|
|
<p id="en-us_topic_0168602223__p3867800514343">If this parameter is not specified, all trackers will be deleted.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602223__section35329809"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0168602223__ul41084157"><li id="en-us_topic_0168602223__li34213098">Parameter description<p id="en-us_topic_0168602223__p38340284143424"><a name="en-us_topic_0168602223__li34213098"></a><a name="li34213098"></a>None</p>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0168602223__ul61513540"><li id="en-us_topic_0168602223__li16750948">Example request<pre class="screen" id="en-us_topic_0168602223__screen19361249152055">DELETE /v1.0/{project_id}/tracker?tracker_name=system</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602223__section49532829"><h4 class="sectiontitle">Response</h4><ul id="en-us_topic_0168602223__ul64736823"><li id="en-us_topic_0168602223__li45760497">Parameter description<p id="en-us_topic_0168602223__p9191297"><a name="en-us_topic_0168602223__li45760497"></a><a name="li45760497"></a>None</p>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0168602223__ul27556864"><li id="en-us_topic_0168602223__li46685187">Example response<p id="en-us_topic_0168602223__p17513507"><a name="en-us_topic_0168602223__li46685187"></a><a name="li46685187"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602223__section43142284"><h4 class="sectiontitle">Returned Value</h4><ul id="en-us_topic_0168602223__ul9307971"><li id="en-us_topic_0168602223__li16662877">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602223__table15748167" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Return code for successful requests</caption><thead align="left"><tr id="en-us_topic_0168602223__row53117702"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.1.1.2.3.1.1"><p id="en-us_topic_0168602223__p7566645"><strong id="en-us_topic_0168602223__b842352706115056">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.1.1.2.3.1.2"><p id="en-us_topic_0168602223__p8918541"><strong id="en-us_topic_0168602223__b842352706115059">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602223__row51313205"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.1.1.2.3.1.1 "><p id="en-us_topic_0168602223__p62728917">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.1.1.2.3.1.2 "><p id="en-us_topic_0168602223__p47877526">The tracker is deleted successfully.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0168602223__li28244554">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602223__table52874399" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Return code for failed requests</caption><thead align="left"><tr id="en-us_topic_0168602223__row7652366"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.2.1.2.3.1.1"><p id="en-us_topic_0168602223__p15861880"><strong id="en-us_topic_0168602223__b84235270611513">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.2.1.2.3.1.2"><p id="en-us_topic_0168602223__p9743886"><strong id="en-us_topic_0168602223__b842352706114437">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602223__row23803959143231"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602223__p24240714143232">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602223__p17340830143232">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602223__row51057338"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602223__p42003681">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602223__p46855021">The server failed to find the requested resource or deleting some trackers failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602223__row19042013"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602223__p66008059">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602223__p45052529">The request failed to be executed or some trackers failed to be deleted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602223__row3547785910342"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602223__p1628033103416">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602223__p64761823103416">Your access request is rejected.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602223__row4636840710346"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602223__p33837633103416">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602223__p56493743103416">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0168602232.html">Tracker Management</a></div>
|
|
</div>
|
|
</div>
|
|
|