forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
118 lines
9.7 KiB
HTML
118 lines
9.7 KiB
HTML
<a name="kms_02_0047"></a><a name="kms_02_0047"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a CMK Tag</h1>
|
|
<div id="body1521020894928"><div class="section" id="kms_02_0047__en-us_topic_0112992314_section193641144611"><h4 class="sectiontitle">Function</h4><p id="kms_02_0047__en-us_topic_0112992314_p1654712417464">This API enables you to delete a CMK tag.</p>
|
|
</div>
|
|
<div class="section" id="kms_02_0047__en-us_topic_0112992314_section6472103664610"><h4 class="sectiontitle">URI</h4><ul id="kms_02_0047__en-us_topic_0112992314_ul1277716298471"><li id="kms_02_0047__en-us_topic_0112992314_li977692913476">URI format<p id="kms_02_0047__en-us_topic_0112992314_p2504183211472"><a name="kms_02_0047__en-us_topic_0112992314_li977692913476"></a><a name="en-us_topic_0112992314_li977692913476"></a>DELETE /v1.0/{project_id}/kms/{key_id}/tags/{key}</p>
|
|
</li><li id="kms_02_0047__en-us_topic_0112992314_li187767299474">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0047__en-us_topic_0112992314_table3777142984717" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="kms_02_0047__en-us_topic_0112992314_row1077710299477"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="kms_02_0047__en-us_topic_0112992314_p1577110425210"><strong id="kms_02_0047__en-us_topic_0112992314_b842352706202545">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="kms_02_0047__en-us_topic_0112992314_p167751142326">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="kms_02_0047__en-us_topic_0112992314_p157711420214">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="kms_02_0047__en-us_topic_0112992314_p1877644212217">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0047__en-us_topic_0112992314_row17777142912470"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="kms_02_0047__en-us_topic_0112992314_p1277782954712">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="kms_02_0047__en-us_topic_0112992314_p577711293474">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="kms_02_0047__en-us_topic_0112992314_p988536101020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="kms_02_0047__en-us_topic_0112992314_p177771729114715">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0047__en-us_topic_0112992314_row9777132904717"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="kms_02_0047__en-us_topic_0112992314_p18777192911477">key_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="kms_02_0047__en-us_topic_0112992314_p27774293475">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="kms_02_0047__en-us_topic_0112992314_p208879615108">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="kms_02_0047__en-us_topic_0112992314_p17777122912478">36-byte ID of a CMK that matches the regular expression <span class="parmvalue" id="kms_02_0047__en-us_topic_0112992314_parmvalue80435593163333"><b>^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$</b></span></p>
|
|
<p id="kms_02_0047__en-us_topic_0112992314_p1777762912477">Example: 0d0466b0-e727-4d9c-b35d-f84bb474a37f</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0047__en-us_topic_0112992314_row477712296472"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="kms_02_0047__en-us_topic_0112992314_p1077718295475">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="kms_02_0047__en-us_topic_0112992314_p6777202934712">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="kms_02_0047__en-us_topic_0112992314_p48901667103">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="kms_02_0047__en-us_topic_0112992314_p3777429154716">Tag key</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="kms_02_0047__en-us_topic_0112992314_section2156440194715"><h4 class="sectiontitle">Requests</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0047__en-us_topic_0112992314_table1916151124817" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="kms_02_0047__en-us_topic_0112992314_row12161010481"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.2.5.1.1"><p id="kms_02_0047__en-us_topic_0112992314_p5871637557"><strong id="kms_02_0047__en-us_topic_0112992314_b548151861">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.2.5.1.2"><p id="kms_02_0047__en-us_topic_0112992314_p1087537152">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.2.5.1.3"><p id="kms_02_0047__en-us_topic_0112992314_p2087337858">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="kms_02_0047__en-us_topic_0112992314_p1687193712516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0047__en-us_topic_0112992314_row71613116485"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0047__en-us_topic_0112992314_p196201876489">sequence</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0047__en-us_topic_0112992314_p1662057164815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0047__en-us_topic_0112992314_p4386100291125">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0047__en-us_topic_0112992314_p26209724811">36-byte serial number of a request message</p>
|
|
<p id="kms_02_0047__en-us_topic_0112992314_p1162010716486">Example: 919c82d4-8046-4722-9094-35c3c6524cff</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="kms_02_0047__en-us_topic_0112992314_section7456133764811"><h4 class="sectiontitle">Responses</h4><p id="kms_02_0047__en-us_topic_0112992314_p0737416131718">None</p>
|
|
</div>
|
|
<div class="section" id="kms_02_0047__en-us_topic_0112992314_section1482722615177"><h4 class="sectiontitle">Examples</h4><p id="kms_02_0047__en-us_topic_0112992314_p2092318561176">Example response</p>
|
|
<pre class="screen" id="kms_02_0047__en-us_topic_0112992314_screen1484322613175">{
|
|
}</pre>
|
|
<div class="p" id="kms_02_0047__en-us_topic_0112992314_p3219143811170">or<pre class="screen" id="kms_02_0047__en-us_topic_0112992314_screen17219143861715">{
|
|
"error": {
|
|
"error_code": "KMS.XXXX",
|
|
"error_msg": "XXX"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="kms_02_0047__en-us_topic_0112992314_section192111133389"><h4 class="sectiontitle">Status Codes</h4><div class="p" id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p58851531304"><a href="#kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_table3885195311010">Table 3</a> lists the normal status code returned by the response.
|
|
<div class="tablenoborder"><a name="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_table3885195311010"></a><a name="en-us_topic_0112992314_en-us_topic_0112992301_table3885195311010"></a><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_table3885195311010" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Status codes</caption><thead align="left"><tr id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_row08858533011"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.6.2.2.2.4.1.1"><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p18885105310016">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32%" id="mcps1.3.6.2.2.2.4.1.2"><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p488513536011">Status</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.6.2.2.2.4.1.3"><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p188852531708">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_row6885125316018"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.6.2.2.2.4.1.1 "><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p188851853102">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32%" headers="mcps1.3.6.2.2.2.4.1.2 "><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p2123920113816">No Content</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.6.2.2.2.4.1.3 "><p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p151239205384">The request is processed successfully and no content is returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="kms_02_0047__en-us_topic_0112992314_en-us_topic_0112992301_p1288512533020">Exception status code. For details, see <a href="kms_02_0301.html#kms_02_0301">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="kms_02_0011.html">CMK Management</a></div>
|
|
</div>
|
|
</div>
|
|
|