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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileSystemId | string | Yes | The ID of the file system that you want to delete.
Note
CPFS file systems are available only on the China site (aliyun.com).
| 1ca404**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9E15E394-38A6-457A-A62A-D9797C9A****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | OperationDenied.LifecyclePolicyAssociated | The 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. |
400 | OperationDenied.LifecycleRecycleBinTieringJobAssociated | The specified FileSystem has LifecycleRecycleBinTieringJob associated. | - |
For a list of error codes, visit the Service error codes.