AI-generated Key Takeaways
- 
          The main action described is updating an existing user role. 
- 
          The HTTP request method used is PUT. 
- 
          The request URL includes a path parameter for the user profile ID. 
- 
          Both the request and response bodies involve an instance of a UserRole object. 
- 
          Authorization requires the https://www.googleapis.com/auth/dfatraffickingOAuth 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 | 
 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