forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
12 KiB
12 KiB
Changing the Name of a File System
Function
This API is used to change the name of a file system.
URI
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
share_id |
Yes |
String |
Specifies the file system ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the account token. |
Content-Type |
Yes |
String |
Specifies the MIME type. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
change_name |
Yes |
ShareName object |
Specifies the SFS Turbo file system you want to change the name. |
Response Parameters
None
Example Request
{ "change_name" : { "name" : "sfs-turbo-test1" } }
Example Response
None
Status Codes
Status Code |
Description |
---|---|
204 |
Request successful. |
400 |
Invalid parameters. |
500 |
Internal error. |
409 |
File system name already exists. |
Parent topic: Name Management