POST/users/{userId}/mail/mailfolders
메일함을 추가한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
| 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