AI-generated Key Takeaways
-
Use the PUT method with the specified URL to update an existing user role.
-
The request requires a
profileIdpath parameter, which is a string inint64format. -
The request and response bodies both contain an instance of
UserRole. -
The update operation requires authorization via the
https://www.googleapis.com/auth/dfatraffickingOAuth 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 |
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