Deletes a file system.

#Precautions

  • Before you delete a file system, you must remove all mount targets from the file system.
  • Use caution when you delete a file system. After a file system is deleted, the data on the file system cannot be restored. Make sure that all data is backed up.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteFileSystem

The operation that you want to perform. Set the value to DeleteFileSystem.

FileSystemId String Yes 1ca404a348

The ID of the file system.

Response parameters

Parameter Type Example Description
RequestId String 9E15E394-38A6-457A-A62A-D9797C9A0262

The ID of the request.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DeleteFileSystem
&FileSystemId=1ca404a348
&<Common request parameters>

Sample success responses

XML format

<DeleteFileSystemResponse>
    <RequestId>9E15E394-38A6-457A-A62A-D9797C9A0262</RequestId>
</DeleteFileSystemResponse>

JSON format

{
  "RequestId": "9E15E394-38A6-457A-A62A-D9797C9A0262"
}

Error codes

For a list of error codes, visit the API Error Center.