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. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
name | Yes | String | Specifies the name of 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. |