Users.settings.forwardingAddresses: create

Requires authorization

Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted.

This method is only available to service account clients that have been delegated domain-wide authority.

Request

HTTP request

POST https://www.googleapis.com/gmail/v1/users/userId/settings/forwardingAddresses

Parameters

Parameter name Value Description
Path parameters
userId string User's email address. The special value "me" can be used to indicate the authenticated user.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/gmail.settings.sharing

Request body

In the request body, supply a Users.settings.forwardingAddresses resource.

Response

If successful, this method returns a Users.settings.forwardingAddresses resource in the response body.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.