Method: userRoles.patch

  • The PATCH method is used to update an existing user role with support for patch semantics.

  • The URL for the request follows gRPC Transcoding syntax and includes a profileId path parameter.

  • The request requires a UserRole ID as a query parameter.

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

  • The request requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

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