Method: users.get

  • This page provides documentation for the GET method to retrieve a user resource.

  • The request uses an HTTP GET request to a specific URL containing the user ID as a path parameter.

  • The request requires the userId parameter, which is a string representing the 64-bit integer ID of the user to be fetched.

  • The request body must be empty.

  • A successful response returns a User resource in the response body and requires the https://www.googleapis.com/auth/display-video-user-management OAuth scope.

Gets a user.

HTTP request

GET https://displayvideo.googleapis.com/v1beta2/users/{userId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userId

string (int64 format)

Required. The ID of the user to fetch.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video-user-management

For more information, see the OAuth 2.0 Overview.