POST/users/{userId}/mail/migration/pop3
POP3 を利用して、既存のメールを LINE WORKS メールへ移行する。
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 |
|---|---|---|
| pop3Id | string | POP3 ID required minLength : 1 |
| pop3Address | string | POP3 アドレス required minLength : 1 |
| pop3Password | string | POP3 パスワード required minLength : 1 |
| pop3Port | integer | POP3 ポート required format : int32 |
| isNewFolder | boolean | 保存先メールフォルダの作成フラグ
default : false |
| newFolderName | string | 新規作成する保存先フォルダの名前 minLength : 1 maxLength : 100 |
example
1{2 "pop3Id": "pop3@example.com",3 "pop3Address": "pop3.example.com",4 "pop3Password": "Pwd",5 "pop3Port": 110,6 "isNewFolder": true,7 "newFolderName": "POP3MigrationFolder"8}Accepted
Bad Request