Method: userRoles.patch

  • Updates an existing user role with patch semantics, allowing for partial modifications.

  • Requires profileId as a path parameter and id 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.

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

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

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