Method: users.aliases.watch

users.watch for changes in users list.

HTTP request

POST https://admin.googleapis.com/admin/directory/v1/users/{userKey}/aliases/watch

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userKey

string

Email or immutable ID of the user

Query parameters

Parameters
event

enum (Event)

Events to watch for.

Request body

The request body contains an instance of SubscriptionChannel.

Response body

If successful, the response body contains an instance of SubscriptionChannel.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://apps-apis.google.com/a/feeds/alias/
  • https://www.googleapis.com/auth/admin.directory.user
  • https://www.googleapis.com/auth/admin.directory.user.readonly
  • https://www.googleapis.com/auth/admin.directory.user.alias
  • https://www.googleapis.com/auth/admin.directory.user.alias.readonly

For more information, see the OAuth 2.0 Overview.

Event

Enums
EVENT_UNDEFINED
ADD Alias Created Event
DELETE Alias Deleted Event