doc-exports/docs/mrs/api-ref/mrs_02_0072.html
Yang, Tong bd2b57f749 MRS API 2.0.38.SP20 version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-11-16 15:06:08 +00:00

69 lines
5.8 KiB
HTML

<a name="mrs_02_0072"></a><a name="mrs_02_0072"></a>
<h1 class="topictitle1">Deleting a Tag of a Specified Cluster</h1>
<div id="body8662426"><div class="section" id="mrs_02_0072__s8e176e6d570e4b9984866689547c9455"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0072__a4ec4e493daee4711a4c073645dbf881f">This API is used to delete a tag of a specified cluster.</p>
</div>
<div class="section" id="mrs_02_0072__sabb5f678ee1d442f8cd06d539f0deadb"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0072__ul3299804811311"><li id="mrs_02_0072__li3701617811311">Format<p id="mrs_02_0072__a349d21a2c1474be6bddab0889e9df0f0"><a name="mrs_02_0072__li3701617811311"></a><a name="li3701617811311"></a>DELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key}</p>
</li><li id="mrs_02_0072__li29511803172648">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0072__t23b678c0e6e443bb957bda4013e38032" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_0072__r647620be2fa94e4298451667de9ae0c1"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="mrs_02_0072__af61030020714491b8d3ba2166b332eb1"><strong id="mrs_02_0072__b162721316171012">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="mrs_02_0072__en-us_topic_0110707062_p388412816227"><strong id="mrs_02_0072__b14356138181013">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="mrs_02_0072__ad1dbf0431d044a4d975612f8f743e836"><strong id="mrs_02_0072__b619995191018">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0072__r5390b8e10563492aae44bde4fe3cd776"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0072__a99003688fbce46c1bd9dab407a40ea68">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0072__a87ab8d30896e449eac21fac11c3cbdb5">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0072__aa7e22425547d4b178bd3b7c9d13eb0b0">Project ID. For details on how to obtain the project ID, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="mrs_02_0072__r7c49d727a4fa41039b5b611dcaf9382d"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0072__en-us_topic_0110707062_p288462815221">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0072__ad357c2193e0f4186951b55237416c742">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0072__en-us_topic_0110707062_p78845285227">Cluster ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="mrs_02_0072__saa2d1d6136b44b93b95e23834d329642"><h4 class="sectiontitle">Request</h4><p id="mrs_02_0072__aeb88f182e4614635a6370b667894832e"><strong id="mrs_02_0072__en-us_topic_0110707062_b178296333234">Request parameters</strong></p>
<p id="mrs_02_0072__en-us_topic_0110707062_p384519274237">None.</p>
</div>
<div class="section" id="mrs_02_0072__s0395465945ea4ec1939e463c02bad21d"><h4 class="sectiontitle">Response</h4><p id="mrs_02_0072__a7c5b08819b074527931f639c986ba1a5"><strong id="mrs_02_0072__a0016e75604cc4ffdbd0b49fcc4df6234">Response parameters</strong></p>
<p id="mrs_02_0072__a3692dc72feeb48cf9dd3dbed5b13abf4">None</p>
</div>
<div class="section" id="mrs_02_0072__section1210015461189"><h4 class="sectiontitle">Example</h4><ul id="mrs_02_0072__ul1958913536182"><li id="mrs_02_0072__li1558945321814">Example request<p id="mrs_02_0072__p8671133419191"><a name="mrs_02_0072__li1558945321814"></a><a name="li1558945321814"></a>None.</p>
</li><li id="mrs_02_0072__li543710159193">Example response<p id="mrs_02_0072__p156441832121919"><a name="mrs_02_0072__li543710159193"></a><a name="li543710159193"></a>None</p>
</li></ul>
</div>
<div class="section" id="mrs_02_0072__s3121da348aea44ed9c2f4409d4709e9a"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0072__ab0bfffa87cdd4500b22c18cec77bfc55"><a href="#mrs_02_0072__t72c4159e310d449696ec7ba265e3428e">Table 2</a> describes the status code of this API.</p>
<div class="tablenoborder"><a name="mrs_02_0072__t72c4159e310d449696ec7ba265e3428e"></a><a name="t72c4159e310d449696ec7ba265e3428e"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0072__t72c4159e310d449696ec7ba265e3428e" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status code</caption><thead align="left"><tr id="mrs_02_0072__rb300edfab41542bd862a9c36374a3ded"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.3.1.1"><p id="mrs_02_0072__a10ad0654fb9d4ef79a187a79b8281b6b"><strong id="mrs_02_0072__b185109145712">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.3.2.3.1.2"><p id="mrs_02_0072__aca156656628f45d7b617ef94957aadd5"><strong id="mrs_02_0072__b10103117773">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0072__r80461b233d74443f8a10d62550880565"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.3.1.1 "><p id="mrs_02_0072__a5353664480384092a6fcc5cb43584698">204</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.3.1.2 "><p id="mrs_02_0072__p1666511011814">The operation is successful.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_0070.html">Tag Management APIs</a></div>
</div>
</div>