Calls DeleteFileSystem to delete a NAS service.
Operation description
Deletes a NAS file system. Before deleting the file system, call DeleteMountTarget to delete all mount targets of the file system. After DeleteMountTarget succeeds, there is an eventual consistency window. Poll DescribeFileSystems to confirm that MountTargets is empty before calling this API operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DeleteFileSystem |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EnsRegionId |
string |
Yes |
The edge zone ID. |
cn-chengdu-telecom-4 |
| FileSystemId |
string |
Yes |
The ID of the file system to delete. |
e42640**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Examples
Success response
JSON format
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.NotFound | The instance was not found.Please confirm whether the instance exists. | The instance that you want to delete cannot be found. |
| 400 | Parameter.Invalid | The parameter is invalid.Please check your parameters and try it again. | |
| 400 | Nas.Mount.Tatget.Entity.Not.Null | There are still mount points under the file system.Please delete the mount point first | |
| 400 | Interface.Call.Error | The interface call error | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.