/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}
GET
/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.
Request
Path Params
userId
stringÂ
required
User's email address. The special value "me" can be used to indicate the authenticated user.
delegateEmail
stringÂ
required
The email address of the user whose delegate relationship is to be retrieved.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates.
delegateEmail
stringÂ
optional
The email address of the delegate.
verificationStatus
enum<string>Â
optional
Indicates whether this address has been verified and can act as a delegate for the account. Read-only.
Allowed values:
verificationStatusUnspecifiedacceptedpendingrejectedexpired
Example
{
"delegateEmail": "string",
"verificationStatus": "verificationStatusUnspecified"
}
Last modified: a year ago