PUT /gmail/v1/users/{userId}/settings/autoForwarding
Changed onUpdates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. For more information, see Manage email forwarding. This method is only available to service account clients that have been delegated domain-wide authority.
Request
- Base URLhttps://gmail.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/gmail.settings.sharingAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/gmail.settings.sharing
Path parameters
User's email address. The special value "me" can be used to indicate the authenticated user.
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Request body
Auto-forwarding settings for an account.
The state that a message should be left in after it has been forwarded.
Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.
Whether all incoming mail is automatically forwarded to another address.
Response
Successful response
Auto-forwarding settings for an account.
The state that a message should be left in after it has been forwarded.
Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.
Whether all incoming mail is automatically forwarded to another address.
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking