All Products
Search
Document Center

Apsara File Storage NAS:DeleteFileSystem

Last Updated:Mar 14, 2024

Deletes a file system.

Operation description

  • Before you delete a file system, you must delete all mount targets of the file system.
  • Before you delete a file system, you must make sure that no lifecycle policy is created for the file system.
  • After a file system is deleted, the data on the file system cannot be restored. Proceed with caution.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FileSystemIdstringYes

The ID of the file system that you want to delete.

  • Sample ID of a General-purpose NAS file system: 31a8e4****.
  • The IDs of Extreme NAS file systems must start with extreme-, for example, extreme-0015****.
  • The IDs of Cloud Parallel File Storage (CPFS) file systems must start with cpfs-, for example, cpfs-00cb6fa094ca****.
Note CPFS file systems are available only on the China site (aliyun.com).
1ca404****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

9E15E394-38A6-457A-A62A-D9797C9A****

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
400OperationDenied.LifecyclePolicyAssociatedThe specified FileSystem has LifecyclePolicy associated.The specified file system has a life cycle policy associated. Please delete the life cycle policy first and then delete the file system.
400OperationDenied.LifecycleRecycleBinTieringJobAssociatedThe specified FileSystem has LifecycleRecycleBinTieringJob associated.-

For a list of error codes, visit the Service error codes.