Retrieves a User.
HTTP request
GET https://cloudidentityscim.googleapis.com/v1beta1/customers/{customerId}/v2/Users/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customerId |
Required. The customer ID. |
userId |
Required. The user ID. |
Query parameters
| Parameters | |
|---|---|
attributes |
Optional. The attributes parameter as described in RFC 7644 Section 3.4.2.5. Must be a comma-separated list (without spaces) of top-level attributes. Must contain only top-level attributes. Sub-attributes (for example, |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of User.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/admin.directory.user
For more information, see the Authorization guide.