Method: userRoles.get

  • This API endpoint allows you to retrieve a specific user role by its ID.

  • The request uses a GET HTTP method and requires both a user profile ID and a user role ID as path parameters.

  • The request body must be empty, and the response body contains a UserRole object upon success.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one user role by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/userRoles/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string ( int64 format)

User profile ID associated with this request.

id

string ( int64 format)

User role ID.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking
Design a Mobile Site
View Site in Mobile | Classic
Share by: