フォルダの名前を変更します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FolderId |
string |
必須 |
フォルダの ID。 |
fd-u8B321**** |
| NewFolderName |
string |
必須 |
フォルダの新しい名前。 名前の長さは 1~24 文字である必要があります。文字、数字、アンダースコア (_)、ピリオド (.)、ハイフン (-) を使用できます。 |
rdFolder |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された結果。 |
||
| RequestId |
string |
リクエストの ID。 |
C2CBCA30-C8DD-423E-B4AD-4FB694C9180C |
| Folder |
object |
フォルダに関する情報。 |
|
| FolderId |
string |
フォルダの ID。 |
fd-u8B321**** |
| CreateTime |
string |
フォルダが作成された時間。 |
2019-02-19T09:34:50.757Z |
| ParentFolderId |
string |
親フォルダの ID。 |
r-b1**** |
| FolderName |
string |
フォルダの名前。 |
rdFolder |
例
成功レスポンス
JSONJSON
{
"RequestId": "C2CBCA30-C8DD-423E-B4AD-4FB694C9180C",
"Folder": {
"FolderId": "fd-u8B321****",
"CreateTime": "2019-02-19T09:34:50.757Z",
"ParentFolderId": "r-b1****",
"FolderName": "rdFolder"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter.Folder.Name | You must specify the resource folder name. | |
| 400 | InvalidParameter.Folder.Name | The Name of folder is invalid. | |
| 400 | InvalidParameter.Folder.Name.Length | The Name of folder exceeds the length limit. | |
| 400 | MissingParameter.FolderId | You must specify FolderId. | |
| 400 | InvalidParameter.FolderId | The FolderId is invalid. | |
| 400 | InvalidParameter.Folder.Name.AlreadyUsed | The name already exists under the same parent. Please change to another name. | |
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | |
| 404 | EntityNotExists.Folder | The resource directory folder does not exist. | |
| 409 | LimitExceeded.Folder.Depth | The folder depth exceeds the limit of 5. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。