forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
102 lines
7.5 KiB
HTML
102 lines
7.5 KiB
HTML
<a name="css_03_0082"></a><a name="css_03_0082"></a>
|
|
|
|
<h1 class="topictitle1">Deleting Specified Cluster Tags</h1>
|
|
<div id="body1602483981348"><div class="section" id="css_03_0082__section4887181417219"><h4 class="sectiontitle">Function</h4><p id="css_03_0082__p2960293467">This API is used to delete specified cluster tags.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0082__section186642510215"><h4 class="sectiontitle">URI</h4><pre class="screen" id="css_03_0082__screen13361126174613">DELETE /v1.0/{project_id}/css-cluster/{cluster_id}/tags/{key}</pre>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0082__table1012102920240" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="css_03_0082__row38815295244"><th align="left" class="cellrowborder" valign="top" width="14.48%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0082__p1881229192419">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.52%" id="mcps1.3.2.3.2.5.1.2"><p id="css_03_0082__p88842902412">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.05%" id="mcps1.3.2.3.2.5.1.3"><p id="css_03_0082__p2089929172411">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="37.95%" id="mcps1.3.2.3.2.5.1.4"><p id="css_03_0082__p1389129172417">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0082__row2089192915248"><td class="cellrowborder" valign="top" width="14.48%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0082__p178932915245">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.52%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0082__p1289729152414">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.05%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0082__p989172972410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.95%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0082__p14897293244">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0082__row88914291247"><td class="cellrowborder" valign="top" width="14.48%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0082__p178912982419">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.52%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0082__p178992992415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.05%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0082__p158932916246">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.95%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0082__p08972922418">ID of the cluster to which a tag is to be deleted</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0082__row1289129172410"><td class="cellrowborder" valign="top" width="14.48%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0082__p289102916247">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.52%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0082__p198952952418">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.05%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0082__p188913297246">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.95%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0082__p18902952410">Tag key</p>
|
|
<p id="css_03_0082__p11519122463010">The field cannot be left blank or be an empty character string.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0082__section363185316211"><h4 class="sectiontitle">Request</h4><p id="css_03_0082__p11756257102118">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0082__section13207016220"><h4 class="sectiontitle">Response</h4><p id="css_03_0082__p163816422218">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0082__section1218195720445"><h4 class="sectiontitle">Example</h4><ul id="css_03_0082__ul54919212459"><li id="css_03_0082__li5289184314451">Example request<pre class="screen" id="css_03_0082__screen1771195414455">DELETE /v1.0/458d905f22da49c39f609e3347d65723/css-cluster/4f3deec3-efa8-4598-bf91-560aad1377a3/tags/key1</pre>
|
|
</li><li id="css_03_0082__li013522414518">Response example<p id="css_03_0082__p48939120485"><a name="css_03_0082__li013522414518"></a><a name="li013522414518"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="css_03_0082__section25681378225"><h4 class="sectiontitle">Status Code</h4><p id="css_03_0082__css_03_0081_p46921709171"><a href="#css_03_0082__css_03_0081_table12321369178">Table 2</a> describes status codes.</p>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0082__css_03_0081_table12321369178"></a><a name="css_03_0081_table12321369178"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0082__css_03_0081_table12321369178" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status code</caption><thead align="left"><tr id="css_03_0082__css_03_0081_en-us_topic_0075288550_row1972183521418"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.6.3.2.4.1.1"><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p14560134151414">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.51%" id="mcps1.3.6.3.2.4.1.2"><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p5563194141411">Encoding</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.49%" id="mcps1.3.6.3.2.4.1.3"><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p256616411143">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0082__css_03_0081_en-us_topic_0075288550_row129720356144"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p1957004131410">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.51%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p165731141171419">BadRequest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.49%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p65778413148">Invalid request.</p>
|
|
<p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p1557974171415">Do not retry the request before modification.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0082__css_03_0081_en-us_topic_0075288550_row8972103517147"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p75841441191410">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.51%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p258716416142">NotFound</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.49%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p15589154118141">The requested resource cannot be found.</p>
|
|
<p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p14590164151410">Do not retry the request before modification.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0082__css_03_0081_en-us_topic_0075288550_row297223511416"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p13595164131416">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.51%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p9598741131416">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.49%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0082__css_03_0081_en-us_topic_0075288550_p659994115146">The request is processed successfully.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0077.html">Tag Management APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|