forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: lizaoxu <lizaoxu@huawei.com> Co-committed-by: lizaoxu <lizaoxu@huawei.com>
8.1 KiB
8.1 KiB
Changing the Name of a File System
Function
This API is used to change the name of a file system.
Request Parameters
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
The account token. |
Content-Type |
Yes |
String |
The MIME type. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
change_name |
Yes |
ShareName object |
The file system to be modified. |
Response Parameters
Status code: 204
Successful request
None
Example Requests
Changing the name of an SFS Turbo file system to sfs-turbo-test1
{
"change_name" : {
"name" : "sfs-turbo-test1"
}
}
Example Responses
None
Status Codes
Status Code |
Description |
|---|---|
204 |
Successful request |
400 |
Incorrect parameter |
409 |
File system name already exists |
500 |
Internal error |
Error Codes
See Error Codes.
Parent topic: Name Management