Method: userRoles.update

  • Use the PUT method with the specified URL to update an existing user role.

  • The request requires a profileId path parameter, which is a string in int64 format.

  • The request and response bodies both contain an instance of UserRole.

  • The update operation requires authorization via the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Updates an existing user role.

HTTP request

PUT https://dfareporting.googleapis.com/dfareporting/v5/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