forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
103 lines
8.8 KiB
HTML
103 lines
8.8 KiB
HTML
<a name="EN-US_TOPIC_0000001185991700"></a><a name="EN-US_TOPIC_0000001185991700"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Resource Tag</h1>
|
|
<div id="body1524298666228"><div class="section" id="EN-US_TOPIC_0000001185991700__section14911175173418"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001185991700__p69947517343">This API is used to delete a resource tag for a resource.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001185991700__section99116593419"><h4 class="sectiontitle">URI</h4><ul id="EN-US_TOPIC_0000001185991700__ul29948512345"><li id="EN-US_TOPIC_0000001185991700__li599405193413">URI format<pre class="screen" id="EN-US_TOPIC_0000001185991700__screen7131920218">DELETE /v1.0/{project_id}/clusters/{resource_id}/tags/{key}</pre>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001185991700__ul15994125193418"><li id="EN-US_TOPIC_0000001185991700__li499515583417">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001185991700__table59188517349" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001185991700__row4995115113419"><th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.2.3.1.1.2.5.1.1"><p id="EN-US_TOPIC_0000001185991700__p399514583415"><strong id="EN-US_TOPIC_0000001185991700__b20452210134518">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.2.3.1.1.2.5.1.2"><p id="EN-US_TOPIC_0000001185991700__p9995554349"><strong id="EN-US_TOPIC_0000001185991700__b84235270684256">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.891089108910892%" id="mcps1.3.2.3.1.1.2.5.1.3"><p id="EN-US_TOPIC_0000001185991700__p10995195113417"><strong>Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.4059405940594%" id="mcps1.3.2.3.1.1.2.5.1.4"><p id="EN-US_TOPIC_0000001185991700__p69958513349"><strong id="EN-US_TOPIC_0000001185991700__b1422851474515">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001185991700__row1899518515340"><td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001185991700__p499735173412">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001185991700__p9997754345">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.891089108910892%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001185991700__p2997125193411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001185991700__p11997257345">Project ID. For details about how to obtain the project ID, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row18997135123413"><td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001185991700__p6997650347">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001185991700__p12997205143417">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.891089108910892%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001185991700__p1699785203415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001185991700__p99976514345">Resource ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row299715593419"><td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001185991700__p139973515341">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001185991700__p139974593413">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.891089108910892%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001185991700__p999719518344">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001185991700__p1199716517344">Tag key</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001185991700__section493018513415"><h4 class="sectiontitle">Request Message</h4><ul id="EN-US_TOPIC_0000001185991700__ul1499711513412"><li id="EN-US_TOPIC_0000001185991700__li1799795173410">Sample request<pre class="screen" id="EN-US_TOPIC_0000001185991700__screen1799716511342">DELETE /v1.0/89cd04f168b84af6be287f71730fdb4b/clusters/7d85f602-a948-4a30-afd4-e84f47471c15/tags/DEV</pre>
|
|
</li><li id="EN-US_TOPIC_0000001185991700__li2472185610542">Parameter description<p id="EN-US_TOPIC_0000001185991700__p5299101556"><a name="EN-US_TOPIC_0000001185991700__li2472185610542"></a><a name="li2472185610542"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001185991700__section1267862233212"><h4 class="sectiontitle">Response Message</h4><p id="EN-US_TOPIC_0000001185991700__en-us_topic_0067625516_p070316818262">Sample response</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001185991700__sabffaf8806d04531be3a32b013bf56e3">status CODE 204</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001185991700__section119321759349"><h4 class="sectiontitle">Status Code</h4><ul id="EN-US_TOPIC_0000001185991700__ul2099717511345"><li id="EN-US_TOPIC_0000001185991700__li4997115173417">Normal<p id="EN-US_TOPIC_0000001185991700__p14653142211718"><a name="EN-US_TOPIC_0000001185991700__li4997115173417"></a><a name="li4997115173417"></a>204</p>
|
|
</li><li id="EN-US_TOPIC_0000001185991700__li99971557342">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001185991700__table793510518343" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Returned value for failed requests</caption><thead align="left"><tr id="EN-US_TOPIC_0000001185991700__row15997256340"><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_0000001185991700__p79971958343"><strong id="EN-US_TOPIC_0000001185991700__b84235270615436">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_0000001185991700__p599715583418"><strong id="EN-US_TOPIC_0000001185991700__b6465525184513">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001185991700__row199976593411"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001185991700__p1999715518341">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_0000001185991700__p599716513347">Invalid parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row16997155113419"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001185991700__p109970523413">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_0000001185991700__p699715103413">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row199714583412"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001185991700__p129971158344">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_0000001185991700__p89976518342">You do not have the permission to perform the operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row799735153417"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001185991700__p1599710573417">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_0000001185991700__p2997175133418">The requested resource was not found or the key does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001185991700__row9997155103420"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001185991700__p899715593413">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_0000001185991700__p49977533419">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0045.html">Tag Management APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|