Deletes a file system.
Operation description
You can delete a file system only when the number of mount targets for the file system is 0.
You can delete a file system only when no lifecycle management policy is created for the file system.
Once a file system is deleted, the data cannot be recovered. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DeleteFileSystem |
delete |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The ID of the file system to be deleted.
|
1ca404**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
9E15E394-38A6-457A-A62A-D9797C9A**** |
Examples
Success response
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. | The resource is occupied by a background task of the recycle bin. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.