POST/users/{userId}/mail/settings/forwarding
メール転送設定を登録する。
受信したメールは指定したメールアドレスに転送される。
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 |
|---|---|---|
| string | メールアドレス (RFC822 フォーマット) required minLength : 1 format : email | |
| isSaveOriginalMail | boolean | 原本メールの保存フラグ
default : true |
example
1{2 "email": "ex001@example.com",3 "isSaveOriginalMail": false4}Created
Bad Request
Unauthorized