Users.settings.delegates: get

Requires authorization

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

HTTP request

GET https://www.googleapis.com/gmail/v1/users/userId/settings/delegates/delegateEmail

Parameters

Parameter name Value Description
Path parameters
delegateEmail string The email address of the user whose delegate relationship is to be retrieved.
userId string User's email address. The special value "me" can be used to indicate the authenticated user.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/gmail.settings.basic
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly

Request body

Do not supply a request body with this method.

Response

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

Enviar comentarios sobre…

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