/gmail/v1/users/{userId}/settings/forwardingAddresses
POST
/gmail/v1/users/{userId}/settings/forwardingAddresses
users
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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gmail.googleapis.com//gmail/v1/users//settings/forwardingAddresses' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"forwardingEmail": "string",
"verificationStatus": "verificationStatusUnspecified"
}
Request
Path Params
userId
string
required
Body Params application/json
Responses
Modified at 2023-08-15 05:40:23