POST/users/{userId}/mail/settings/forwarding
Enables email forwarding,
which forwards incoming email messages to a specified email address.
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 |
|---|---|---|
| string | Email address (RFC822 format) required minLength : 1 format : email | |
| isSaveOriginalMail | boolean | Indicates whether to save the original email message.
default : true |
example
1{2 "email": "ex001@example.com",3 "isSaveOriginalMail": false4}Created
Bad Request
Unauthorized