Method: userRoles.patch

  • This method updates an existing user role using patch semantics.

  • The request uses a PATCH HTTP method and includes profileId and id as path and query parameters respectively.

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

  • 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/v5/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