POST/users/{userId}/mail/mailfolders
メールフォルダを追加する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID (URL エンコードする)
required example : me |
| 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": "FolderName"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}Conflict