AI-generated Key Takeaways
-
Updates an existing user role with patch semantics, allowing for partial modifications.
-
Requires
profileId
as a path parameter andid
as a query parameter to identify the user role being updated. -
Uses the HTTP PATCH method and the request body should contain a
UserRole
object representing the desired changes. -
A successful update returns the updated
UserRole
object in the response body. -
Authorization requires the
https://www.googleapis.com/auth/dfatrafficking
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an existing user role. This method supports patch semantics.
HTTP request
PATCH 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. |
Query parameters
Parameters | |
---|---|
id |
Required. UserRole ID. |
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