forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
129 lines
9.3 KiB
HTML
129 lines
9.3 KiB
HTML
<a name="evs_04_2025"></a><a name="evs_04_2025"></a>
|
|
|
|
<h1 class="topictitle1">Deleting the Tag of an EVS Resource by Key</h1>
|
|
<div id="body1501053401641"><div class="section" id="evs_04_2025__section17386310104128"><h4 class="sectiontitle">Function</h4><p id="evs_04_2025__p33047202151923">This API is used to delete the tag of an EVS resource by key.</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section58153866104128"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_2025__p4343600154740">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section48475837104128"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2025__ul34228737104128"><li id="evs_04_2025__li39623177104128">URI format<p id="evs_04_2025__p3197776715545"><a name="evs_04_2025__li39623177104128"></a><a name="li39623177104128"></a>DELETE /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}</p>
|
|
</li><li id="evs_04_2025__li55360764104128">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2025__table28484833104128" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2025__row60547305104128"><th align="left" class="cellrowborder" valign="top" width="28.57%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2025__p5384679104128">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.529999999999998%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2025__p33505894104128">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.9%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2025__p29622926104128">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2025__row50646790104128"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2025__p8749302104128">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2025__p37604871104128">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2025__p26095712104128">The project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2025__row40869685152038"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2025__p33171521152058">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2025__p2538652152058">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2025__p42707547152038">The resource type. The value can be <strong id="evs_04_2025__b842352706193556">volumes</strong>, <strong id="evs_04_2025__b84235270619367">snapshots</strong>, or <strong id="evs_04_2025__b842352706193615">backups</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2025__row255647152042"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2025__p38738380152058">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2025__p50801043152058">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2025__p33198438152042">The resource ID. The value can be the ID of a disk, snapshot, or backup.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2025__row41101519155425"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2025__p40888766155425">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2025__p23655745155425">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2025__p37067201155425">The tag key.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section33377962104128"><h4 class="sectiontitle">Request</h4><p id="evs_04_2025__p5609221315554">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section26860493104128"><h4 class="sectiontitle">Response</h4><ul id="evs_04_2025__ul83719412217"><li id="evs_04_2025__li24688256">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2025__table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2025__row54094047103019"><th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="evs_04_2025__p19541716103019">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.37%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="evs_04_2025__p39375186103019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.39%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="evs_04_2025__p38578950103019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2025__row45731334253"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_2025__p129522216412">error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.37%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_2025__p1595262111415">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_2025__p109527215417">The error message returned if an error occurs. For details, see <a href="#evs_04_2025__li0419202382514">Parameters in the error field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2025__li0419202382514"><a name="evs_04_2025__li0419202382514"></a><a name="li0419202382514"></a>Parameters in the <strong id="evs_04_2025__evs_04_2013_b1288034833610">error</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2025__evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2025__evs_04_2013_row54094047103019"><th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.1"><p id="evs_04_2025__evs_04_2013_p19541716103019">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.2"><p id="evs_04_2025__evs_04_2013_p39375186103019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.5.2.2.2.1.4.1.3"><p id="evs_04_2025__evs_04_2013_p38578950103019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2025__evs_04_2013_row59401790103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2025__evs_04_2013_p46815658103019">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2025__evs_04_2013_p33971979103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2025__evs_04_2013_p21623243103019">The error message returned if an error occurs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2025__evs_04_2013_row60391466103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2025__evs_04_2013_p59870541103019">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2025__evs_04_2013_p17675690103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2025__evs_04_2013_p6087468103019">The error code returned if an error occurs.</p>
|
|
<p id="evs_04_2025__evs_04_2013_p54787218103019">For details about the error code, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="evs_04_2025__ul28216342104128"><li id="evs_04_2025__li2903350411916">Example response<p id="evs_04_2025__p57112307111233"><a name="evs_04_2025__li2903350411916"></a><a name="li2903350411916"></a>None</p>
|
|
<p id="evs_04_2025__p52821068113531">or</p>
|
|
<pre class="screen" id="evs_04_2025__screen4594167995947">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
<p id="evs_04_2025__p5655715720175">In the preceding example, <strong id="evs_04_2025__b842352706143959">error</strong> indicates a general error, for example, <strong id="evs_04_2025__b842352706144438">badRequest</strong> or <strong id="evs_04_2025__b842352706144454">itemNotFound</strong>. An example is provided as follows:</p>
|
|
<pre class="screen" id="evs_04_2025__screen54581143201731">{
|
|
"itemNotFound": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section46084594151835"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2025__ul18564055104128"><li id="evs_04_2025__li32858773104128">Normal<p id="evs_04_2025__p27293504104128"><a name="evs_04_2025__li32858773104128"></a><a name="li32858773104128"></a>200</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2025__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2025__evs_04_2013_p783819215242">For details, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2024.html">Tag Management</a></div>
|
|
</div>
|
|
</div>
|
|
|