doc-exports/docs/sfs/api-ref/sfs_02_0027.html
Wei, Hongmin 61f4bfc2ef SFS API initial version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2022-10-18 16:36:56 +00:00

139 lines
12 KiB
HTML

<a name="sfs_02_0027"></a><a name="sfs_02_0027"></a>
<h1 class="topictitle1">Deleting a Shared File System</h1>
<div id="body8662426"><div class="section" id="sfs_02_0027__s756a340c47e0467f98ab7c716a729342"><h4 class="sectiontitle">Function</h4><p id="sfs_02_0027__a51b590a8e99040038c17c3643d260fae">This API is used to delete a shared file system.</p>
<div class="note" id="sfs_02_0027__nbda0de2541a34aac864b18d86799ae9f"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="sfs_02_0027__a28d834d94aa5455da769766632cf9510">This API is an asynchronous API. If the returned status code is <strong id="sfs_02_0027__b6372237193215">202</strong>, the API request is successfully delivered and received. Later, you can query the shared file system by referring to <a href="sfs_02_0024.html">Querying Details About a Shared File System</a> to identify whether the deletion is complete and successful.</p>
</div></div>
</div>
<div class="section" id="sfs_02_0027__s6574f11230c74ddaa20136feed374db1"><h4 class="sectiontitle">URI</h4><ul id="sfs_02_0027__ua545c5d292554dca9144749b3812188f"><li id="sfs_02_0027__l76e7baa95cb44d089ca2e20bb299665b">DELETE /v2/{project_id}/shares/{share_id}</li><li id="sfs_02_0027__l41817bbdd7b5484a8d2554531eabc82a">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0027__t1456ab35816344b8a76e36c773441dff" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0027__r753a0263858a4c31a49be8a5ec591070"><th align="left" class="cellrowborder" valign="top" width="17.62%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="sfs_02_0027__p17124101410431">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.62%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="sfs_02_0027__p1612415146430">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.88%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="sfs_02_0027__p312416148432">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="47.88%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="sfs_02_0027__p3124181464318">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0027__rdc75ac94fac44a67a0ec925cb48bb63f"><td class="cellrowborder" valign="top" width="17.62%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0027__a0742d2efba12435e91866628388ffcec">share_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0027__a4c0a9dd339964ad3adfcbff066294968">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0027__a8af9c62e72624886b917ce668a7437f4">String</p>
</td>
<td class="cellrowborder" valign="top" width="47.88%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0027__a238f3a91d5014043836c8907e47dce2f">Specifies the ID of the shared file system.</p>
</td>
</tr>
<tr id="sfs_02_0027__r069cb350c1b547adb6d40dadcddddfcb"><td class="cellrowborder" valign="top" width="17.62%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0027__ab20f7ae58a56489ea61c3e68d662ca37">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0027__a6e22414afbe04ff79f3165c0249b43c2">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0027__ac6fa3b3eee82486c975a26a1df39dc4e">String</p>
</td>
<td class="cellrowborder" valign="top" width="47.88%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0027__a4aa4e6fe53a941cd886a5f622400d338">Specifies the project ID of the operator.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="sfs_02_0027__sa79c834e019e4d1b9e7e6ddcec17f188"><h4 class="sectiontitle">Request</h4><ul id="sfs_02_0027__ud2c0683663fd4b3bb2f0def81ee70d76"><li id="sfs_02_0027__lae75067b0d8c4a038432626cbc4557b5">Parameter description<p id="sfs_02_0027__afa50457edefc478d9522fda55a8c28bf"><a name="sfs_02_0027__lae75067b0d8c4a038432626cbc4557b5"></a><a name="lae75067b0d8c4a038432626cbc4557b5"></a>None</p>
</li><li id="sfs_02_0027__lbd1cf6feb1404ad18269c2f4689386a8">Example request<p id="sfs_02_0027__adba6106c561a4753806c23328470f9ba"><a name="sfs_02_0027__lbd1cf6feb1404ad18269c2f4689386a8"></a><a name="lbd1cf6feb1404ad18269c2f4689386a8"></a>None</p>
</li></ul>
</div>
<div class="section" id="sfs_02_0027__s973f9cf407084187b1462c24e6cfc559"><h4 class="sectiontitle">Response</h4><ul id="sfs_02_0027__ud1641337975744188a0634ca08e46bbd"><li id="sfs_02_0027__l583b22d9a6f74371823b0aa78e977c79">Example response<p id="sfs_02_0027__a0e2219f92eb74a5caf6ee8a610a2ba55"><a name="sfs_02_0027__l583b22d9a6f74371823b0aa78e977c79"></a><a name="l583b22d9a6f74371823b0aa78e977c79"></a>None</p>
</li></ul>
</div>
<div class="section" id="sfs_02_0027__sb9645d68c18a41e199286add50b318d0"><h4 class="sectiontitle">Status Codes</h4><ul id="sfs_02_0027__u0838724d2cd342748ae55637668db3ab"><li id="sfs_02_0027__l586425e79e1b4f3e98bb150f3664df89">Normal<p id="sfs_02_0027__a0415b1300ff140689b6187fa70fb0d12"><a name="sfs_02_0027__l586425e79e1b4f3e98bb150f3664df89"></a><a name="l586425e79e1b4f3e98bb150f3664df89"></a>202</p>
</li><li id="sfs_02_0027__l7342a16975ed4d0fb910222dcca0de67">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0027__t605dedf2056942d7a3b5370b25f20953" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0027__r1462f8482a0440799e925fe066aa655c"><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_0027__a241187a617084a2f8d29138b71c184d2">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_0027__ab13d2981d9304e10bab22faf617a38b6">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0027__r095526b0e6e146d9ac72e98f49b82bba"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__ae4188d1edfb14129908e073964c9e452">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_0027__a5c4cecd2d76741f59bf80dc7672329dc">The server failed to process the request.</p>
</td>
</tr>
<tr id="sfs_02_0027__rad4c5f78b8b04bc2aeb77ac628ae2da7"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a9db0a604367a4dd9bc88285b85a53576">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_0027__a2969b237598f40e98b7ee768eb3115c8">You must enter a username and the password to access the requested page.</p>
</td>
</tr>
<tr id="sfs_02_0027__r14bebf3708884b48a86824800722d2c1"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a658cd49d9e264c40b43d2b8f93c3eb1e">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_0027__ac691cb9769e444a1bdcd2732df22fc6b">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="sfs_02_0027__r84d245962a1e4a36b589db182ea984ae"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__aff824dd42ae84e47808704409603b477">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_0027__a9b2fd1537d594c90b374b1bd1ea7a418">The requested page was not found.</p>
</td>
</tr>
<tr id="sfs_02_0027__rcbd52c0054bf403e8dde1048b80a384d"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a7227ffed0a1943f2b8e7a1d2a9727716">405 Method Not Allowed</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_0027__a3d578ec02d29435ba6b7c4ba24158cc3">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="sfs_02_0027__r56237b74a916408ca08c817f83fba1b8"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__adc58e633872c40bcb52badb5a2375a34">406 Not Acceptable</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_0027__a6fa1d3a05a974384bd0e33d2daccc6f5">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="sfs_02_0027__r11951d13b9c44ff1bdeb70cd964a01c5"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__aef1597c21c8445fa9b2bda805a0a9416">407 Proxy Authentication Required</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_0027__afb43881a086a41b3b393c0415fc704e4">You must use the proxy server for authentication. Then the request can be processed.</p>
</td>
</tr>
<tr id="sfs_02_0027__r5b7cd21b85fc41c98d9e5aae6951462f"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a38c61b6bf49c41479c8b36db69401729">408 Request Timeout</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_0027__a717cddfa84374c4db0941e9b19e90f02">The request timed out.</p>
</td>
</tr>
<tr id="sfs_02_0027__r0bb503bad28f4388a32d2c1a0890708e"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a06405cdc3091435ba6f174d081325fd4">409 Conflict</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_0027__a41e7a6977184470aa76345fba1c1b020">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="sfs_02_0027__r1b35e848f6d84fcea2aee7f278809c25"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a78194ca36e6a4d3f9304ee7f893f3aa3">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_0027__a58b5d62a0ad14b14a06f1d8f0ffec681">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="sfs_02_0027__r9ec15dd64c364a7fb6a4b94330b75302"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__abf5a904cb0324141940020cd26895489">501 Not Implemented</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_0027__af76bba7454e445aca816e2b878d94153">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="sfs_02_0027__rab376948bbad4bee941098ff4fb6d3f8"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a412d522e7dde4b4e82df31bfa6b0e38f">502 Bad Gateway</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_0027__a3640db6a500d4904b5b053cc220ad7c7">Failed to complete the request because the request is invalid.</p>
</td>
</tr>
<tr id="sfs_02_0027__r4c6f4e7ce63740299814a5d893cf8451"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__a052d2ef826bd410fb1926c5a7c57df0d">503 Service Unavailable</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_0027__a82aaa5ccd8c24e958791f059180e2ac8">Failed to complete the request because the service is unavailable.</p>
</td>
</tr>
<tr id="sfs_02_0027__r60718a2e05064b0eb57841b9b1df91a8"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sfs_02_0027__ab6e292c2030b47f6b97633cd9c5d45aa">504 Gateway Timeout</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_0027__acfdef610ecf34be685c4579ec892f86e">A gateway timeout error occurred.</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_0020.html">File Sharing</a></div>
</div>
</div>