Method: userRoles.update

  • Updates an existing user role using a PUT request to the specified endpoint.

  • Requires profileId as a path parameter to identify the user profile.

  • The request and response bodies both utilize the UserRole resource.

  • Authorization is necessary using the dfatrafficking OAuth scope.

Updates an existing user role.

HTTP request

PUT https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/userRoles

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body contains an instance of UserRole.

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