Watches 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 |
Email or immutable ID of the user |
Query parameters
| Parameters | |
|---|---|
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.userhttps://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/admin.directory.user.aliashttps://www.googleapis.com/auth/admin.directory.user.alias.readonly
For more information, see the Authorization guide.
Event
| Enums | |
|---|---|
ADD |
Alias Created Event |
DELETE |
Alias Deleted Event |