forked from laiweijian4/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
106 lines
8.3 KiB
HTML
106 lines
8.3 KiB
HTML
<a name="sfs_02_0076"></a><a name="sfs_02_0076"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Tag from a File System</h1>
|
|
<div id="body1572053639618"><div class="section" id="sfs_02_0076__section82001813171518"><h4 class="sectiontitle">Function</h4><p id="sfs_02_0076__p14478151317152">This API is used to delete a tag from an SFS Turbo file system.</p>
|
|
<div class="note" id="sfs_02_0076__note8223111301519"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="sfs_02_0076__p15478101341517">If the key to be deleted does not exist in the shared file system, error 404 is returned after API calling.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="sfs_02_0076__section523571371515"><h4 class="sectiontitle">URI</h4><ul id="sfs_02_0076__ul19479181351516"><li id="sfs_02_0076__li1647919134151">DELETE /v1/{project_id}/sfs-turbo/{share_id}/tags/{key}</li><li id="sfs_02_0076__li54797130151">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0076__table6242121371517" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0076__row1547971311516"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="sfs_02_0076__p164793132154">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="sfs_02_0076__p11479151317156">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="sfs_02_0076__p847951331513">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.00000000000001%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="sfs_02_0076__p147981313157">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0076__row04791513171517"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0076__p54794134152">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0076__p64796139158">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0076__p1479131314159">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0076__p154791413131510">Specifies the project ID of the operator.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row1547916132156"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0076__p12479131311518">share_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0076__p34798135159">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0076__p1847961381519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0076__p84791313191510">Specifies the ID of the shared file system.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row84791713151513"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0076__p11479131316158">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0076__p0480813181513">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0076__p84801713141519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0076__p154801313151510">Specifies the tag key. The value can contain a maximum of 36 characters. This parameter cannot be left empty. It cannot contain the following characters: ASCII (0-31), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (\), equal signs (=), commas (,), vertical bars (|), and slashes (/). It can contain only letters, digits, hyphens (-), and underscores (_).</p>
|
|
<div class="note" id="sfs_02_0076__note172659131158"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sfs_02_0076__p13480213131510">When calling this API to delete a tag, if the tag key contains special characters that are not directly resolved by the URL, the key needs to be escaped.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0076__section132903132155"><h4 class="sectiontitle">Request</h4><ul id="sfs_02_0076__ul54806132156"><li id="sfs_02_0076__li16480513171519">Parameter description<p id="sfs_02_0076__p1448017134154"><a name="sfs_02_0076__li16480513171519"></a><a name="li16480513171519"></a>None</p>
|
|
</li><li id="sfs_02_0076__li1248020131151">Example request<p id="sfs_02_0076__p18480161313154"><a name="sfs_02_0076__li1248020131151"></a><a name="li1248020131151"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0076__section52971113151512"><h4 class="sectiontitle">Response</h4><ul id="sfs_02_0076__ul11480913121510"><li id="sfs_02_0076__li148041321519">Parameter description<p id="sfs_02_0076__p1480813151515"><a name="sfs_02_0076__li148041321519"></a><a name="li148041321519"></a>None</p>
|
|
</li><li id="sfs_02_0076__li1548014135157">Example response<p id="sfs_02_0076__p2048012138154"><a name="sfs_02_0076__li1548014135157"></a><a name="li1548014135157"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0076__section1830321312152"><h4 class="sectiontitle">Status Codes</h4><ul id="sfs_02_0076__ul1948061318154"><li id="sfs_02_0076__li848015137153">Normal<p id="sfs_02_0076__p15480101315152"><a name="sfs_02_0076__li848015137153"></a><a name="li848015137153"></a>204</p>
|
|
</li><li id="sfs_02_0076__li3480121361514">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0076__table1830912137152" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0076__row24808130155"><th align="left" class="cellrowborder" valign="top" width="43.43%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="sfs_02_0076__p174801913101515">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="sfs_02_0076__p1748011316151">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0076__row1348017134155"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0076__p148011133153">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sfs_02_0076__p4481313111519">Invalid value.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row548131381520"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0076__p1448171381510">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sfs_02_0076__p10481013181510">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row10481151341510"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0076__p74811313131516">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sfs_02_0076__p16481131381520">Access to the requested page is forbidden.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row948119133156"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0076__p94818131158">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sfs_02_0076__p19481191312152">The requested resource was not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0076__row1848117137158"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0076__p1048191311519">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sfs_02_0076__p748111313155">The request is not completed because of a 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="sfs_02_0074.html">Tag Management</a></div>
|
|
</div>
|
|
</div>
|
|
|