POST/users/{userId}/mail/migration/pop3

Migrates existing email data to LINE WORKS Mail using POP3.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

mail

HTTP Request

POSThttps://www.worksapis.com/v1.0/users/{userId}/mail/migration/pop3

Path Parameters

ParameterTypeDescription
userId string 

Member ID (must be URL-encoded)

  • User ID
  • Login ID (email)
  • Me

required
example : me 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 
Content-Type string 

application/json


required
example : application/json 

Request Body

PropertyTypeDescription
pop3Id string 

POP3 ID


required
minLength : 1 
pop3Address string 

POP3 address


required
minLength : 1 
pop3Password string 

POP3 password


required
minLength : 1 
pop3Port integer 

POP3 port


required
format : int32 
isNewFolder boolean 

Indicates whether to create a new folder.


default : false 
newFolderName string 

New folder name.
It is required if isNewFolder is "true".


minLength : 1
maxLength : 100 

Request Example

example

1{2  "pop3Id": "pop3@example.com",3  "pop3Address": "pop3.example.com",4  "pop3Password": "Pwd",5  "pop3Port": 110,6  "isNewFoler": true,7  "newFolderName": "POP3MigrationFolder"8}

Response

HTTP 202

Accepted

HTTP 400

Bad Request