POST/users/{userId}/mail/mailfolders
Adds a folder.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
| Parameter | Type | Description |
|---|---|---|
| userId | string | Member ID (must be URL-encoded)
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 | Folder name required minLength : 1 maxLength : 100 |
example
1{2 "folderName": "FolderName"3}OK
| Property | Type | Description |
|---|---|---|
| folderName | string | Folder name required minLength : 1 |
| folderId | integer | Folder ID required format : int32 |
example
1{2 "folderId": 10001,3 "folderName": "test"4}Conflict