Method: users.settings.cse.identities.list

Lists the client-side encrypted identities for an authenticated user.

HTTP request

GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/identities

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userId

string

The requester's primary email address. To indicate the authenticated user, you can use the special value me.

Query parameters

Parameters
pageToken

string

Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of results.

pageSize

integer

The number of identities to return. If not provided, the page size will default to 20 entries.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "cseIdentities": [
    {
      object (CseIdentity)
    }
  ],
  "nextPageToken": string
}
Fields
cseIdentities[]

object (CseIdentity)

One page of the list of CSE identities configured for the user.

nextPageToken

string

Pagination token to be passed to a subsequent identities.list call in order to retrieve the next page of identities. If this value is not returned or is the empty string, then no further pages remain.

Authorization scopes

Requires one of the following OAuth scopes:

  • 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
  • https://www.googleapis.com/auth/gmail.settings.sharing

For more information, see the Authorization guide.