forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
79 lines
6.5 KiB
HTML
79 lines
6.5 KiB
HTML
<a name="rds_01_0008"></a><a name="rds_01_0008"></a>
|
||
|
||
<h1 class="topictitle1">Deleting a Tag</h1>
|
||
<div id="body8662426"><div class="section" id="rds_01_0008__sc24930a14ced466ea18b344b5e1c2ec5"><h4 class="sectiontitle">Function</h4><p id="rds_01_0008__en-us_topic_0091754394_p33831530">This API is used to delete the tag associated with a DB instance.</p>
|
||
</div>
|
||
<div class="section" id="rds_01_0008__s33dc7d61a8354d16b17088f295ad3753"><h4 class="sectiontitle">URI</h4><ul id="rds_01_0008__en-us_topic_0091754394_ul55999443"><li id="rds_01_0008__en-us_topic_0091754394_li34232944">URI format<p id="rds_01_0008__en-us_topic_0091754391_p39661040"><a name="rds_01_0008__en-us_topic_0091754394_li34232944"></a><a name="en-us_topic_0091754394_li34232944"></a>PATH: /v1/{project_id}/rds/{instanceId}/tags</p>
|
||
<p id="rds_01_0008__a4f3b297e331c43aa9459020de9e9aca0">Method: DELETE</p>
|
||
</li><li id="rds_01_0008__en-us_topic_0091754394_li21405046">Parameter description
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_01_0008__en-us_topic_0091754394_table58427690" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rds_01_0008__en-us_topic_0091754394_row1482002"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="rds_01_0008__en-us_topic_0091754394_p52933326"><strong id="rds_01_0008__en-us_topic_0091754394_b84235270691445">Name</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="rds_01_0008__en-us_topic_0091754394_p59740974"><strong id="rds_01_0008__en-us_topic_0091754394_b842352706102346">Mandatory</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="56.00000000000001%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="rds_01_0008__en-us_topic_0091754394_p7180698"><strong id="rds_01_0008__en-us_topic_0091754394_b842352706163417">Description</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="rds_01_0008__en-us_topic_0091754394_row44765691"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="rds_01_0008__en-us_topic_0091754394_p2142393">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="rds_01_0008__en-us_topic_0091754394_p39316155">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="rds_01_0008__en-us_topic_0091754394_p30492010">Specifies the project ID of a tenant in a region.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="rds_01_0008__en-us_topic_0091754394_row5992637"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="rds_01_0008__en-us_topic_0091754394_p15641626">instanceId</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="rds_01_0008__en-us_topic_0091754394_p59012183">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="rds_01_0008__p7417132564016">Specifies the primary node ID of the DB instance.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</li></ul>
|
||
<ul id="rds_01_0008__en-us_topic_0091754394_ul27898002"><li id="rds_01_0008__l3bc959cfe0194c11879c9cbc9c35ecbe">Restrictions<p id="rds_01_0008__en-us_topic_0091754394_p558907151860"><a name="rds_01_0008__l3bc959cfe0194c11879c9cbc9c35ecbe"></a><a name="l3bc959cfe0194c11879c9cbc9c35ecbe"></a>Standby DB instances do not support tag deletion.</p>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="rds_01_0008__sf06afd7786da4b0b8cab9b89400ed6f8"><h4 class="sectiontitle">Request</h4><ul id="rds_01_0008__u8615ada8e5504f1ca56693ac373065d6"><li id="rds_01_0008__l78e5d4ec42a14e8dbfde315c280b044e">Parameter description
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_01_0008__t6d1d2d3bdb4d43eabd411394581198c0" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="rds_01_0008__r419b47533bc54a24a76a948e5e31bf1e"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="rds_01_0008__ab024fa51f0324612a83a99f5ed69adc6"><strong id="rds_01_0008__b952140185">Name</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="rds_01_0008__a0e13f02ca0b54b2c80768eab0f4c65fc"><strong id="rds_01_0008__b508641759">Mandatory</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="rds_01_0008__acabf1f89ef0843c7816a1d5cd35f6284"><strong id="rds_01_0008__en-us_topic_0091754394_b842352706164541">Type</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="rds_01_0008__a282eb3de69ea4de6a64f7dd8aa2c461b"><strong id="rds_01_0008__b1782389958">Description</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="rds_01_0008__ra25a6ca010cc4536802a5831308af8cb"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="rds_01_0008__p63311645161424">key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="rds_01_0008__p27969644161424">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="rds_01_0008__p50948687161424">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="rds_01_0008__p33202991161424">Specifies the tag key.</p>
|
||
<p id="rds_01_0008__p30391465161424">Its value cannot be empty and must be 1 to 36 Unicode characters in length. It cannot contain nonprintable ASCII characters (0–31) and the following special characters: *<>\=</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</li><li id="rds_01_0008__laebe7fe0bdbd4b6eaa7eeeb22eedc5fe">Request example<pre class="codeblock" id="rds_01_0008__codeblock43642320161511">{
|
||
|
||
"key": "ENV"
|
||
}</pre>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="rds_01_0008__s8d27102bb15a4908a3e92a37bbb7b050"><h4 class="sectiontitle">Normal Response</h4><p id="rds_01_0008__p262615411242">None</p>
|
||
</div>
|
||
<div class="section" id="rds_01_0008__sbc975b2481f04840a631eec0939aff8f"><h4 class="sectiontitle">Abnormal Response</h4><p id="rds_01_0008__en-us_topic_0091754394_p46896054">For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_01_0005.html">Tag Management</a></div>
|
||
</div>
|
||
</div>
|
||
|