This API is used to change the name of a file system.
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. |
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. |
None
{ "change_name" : { "name" : "sfs-turbo-test1" } }
None
Status Code |
Description |
---|---|
204 |
Request successful. |
400 |
Invalid parameters. |
500 |
Internal error. |
409 |
File system name already exists. |