PUT/users/{userId}/mail/mailfolders/{folderId}
メールフォルダ名を変更する。
ParentFolder ChildFolderAccess Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID (URL エンコードする)
required example : me |
| folderId | string | メールフォルダ ID required example : 1 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| folderName | string | メールフォルダ名 required minLength : 1 maxLength : 100 |
example
1{2 "folderName": "newFolderName"3}OK
| Property | Type | Description |
|---|---|---|
| folderName | string | メールフォルダ名 required minLength : 1 |
| folderId | integer | メールフォルダ ID required format : int32 |
example
1{2 "folderId": 10001,3 "folderName": "test"4}