doc-exports/docs/css/api-ref/css_03_0135.html
Wuwan, Qi 8675132585 CSS API 23.2.1 20230926
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2023-10-23 09:34:01 +00:00

100 lines
6.7 KiB
HTML

<a name="css_03_0135"></a><a name="css_03_0135"></a>
<h1 class="topictitle1">Deleting a Detection Task</h1>
<div id="body0000001715677385"><div class="section" id="css_03_0135__section196521732171419"><h4 class="sectiontitle">Function</h4><p id="css_03_0135__p126531232101420">This API is used to delete a detection task.</p>
</div>
<div class="section" id="css_03_0135__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="css_03_0135__p1865417327140">DELETE /v1.0/{project_id}/clusters/{cluster_id}/ai-ops/{aiops_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0135__table26566328142" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0135__row16551632101413"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0135__p2656832191418">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="css_03_0135__p10657432141419">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="css_03_0135__p186573323147">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="css_03_0135__p2065810329141">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0135__row186551232161410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0135__p6658332141411">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0135__p18659113217146">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0135__p14659203213147">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0135__p46601332151412">Project ID. For details about how to obtain the project ID and name, see <a href="css_03_0071.html">Obtaining the Project ID and Name</a>.</p>
</td>
</tr>
<tr id="css_03_0135__row86551132141417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0135__p8660183231418">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0135__p16604322149">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0135__p8661133212146">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0135__p1366143210149">ID of the cluster to be deleted</p>
</td>
</tr>
<tr id="css_03_0135__row116551532191414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0135__p3662103201413">aiops_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0135__p466212321148">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0135__p1366353218141">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0135__p466363210144">ID of a detection task</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0135__section19664183219141"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0135__p106641132151416">None</p>
</div>
<div class="section" id="css_03_0135__section13664203217149"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0135__p36651532111410">None</p>
</div>
<div class="section" id="css_03_0135__section13665173213140"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0135__p166661732101418">Delete a detection task.</p>
<pre class="screen" id="css_03_0135__screen1066614325142">DELETE /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops/e19c9298-465e-42ad-a0ae-b6b552222925</pre>
</div>
<div class="section" id="css_03_0135__section66671032131419"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0135__p17667113216142">None</p>
</div>
<div class="section" id="css_03_0135__section46683327148"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0135__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0135__row8668932161412"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0135__p1767013328146">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="css_03_0135__p14671332101415">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0135__row1668143219144"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0135__p867112322144">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0135__p167283219144">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0135__row1366983220140"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0135__p1467212329146">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0135__p14673153212145">Invalid request.</p>
<p id="css_03_0135__p1067373251412">Modify the request instead of retrying.</p>
</td>
</tr>
<tr id="css_03_0135__row4669183281411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0135__p19673932141410">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0135__p1674332171419">The request cannot be processed due to a conflict.</p>
<p id="css_03_0135__p116741032161415">This status code indicates that the resource that the client attempts to create already exits, or the requested update failed due to a conflict.</p>
</td>
</tr>
<tr id="css_03_0135__row566973261412"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0135__p1067553281411">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0135__p1367503214146">The server does not meet one of the requirements that the requester puts on the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0135__section146761632101413"><h4 class="sectiontitle">Error Codes</h4><p id="css_03_0135__p1167612328147">See <a href="css_03_0076.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0132.html">Intelligent O&amp;M</a></div>
</div>
</div>