Method: userRoles.delete

  • This document outlines how to delete an existing user role.

  • The request uses the DELETE method with specific profile and user role IDs in the path parameters.

  • The request body must be empty, and a successful response will also be an empty JSON object.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Deletes an existing user role.

HTTP request

DELETE https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/userRoles/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

id

string (int64 format)

User role ID.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking