---
title: "DELETE /userprofiles/{userprofilesId}/userRoles/{userRolesId}"
method: DELETE
path: "/userprofiles/{userprofilesId}/userRoles/{userRolesId}"
tags: ["userRoles"]
---

# DELETE /userprofiles/{userprofilesId}/userRoles/{userRolesId}

`DELETE /userprofiles/{userprofilesId}/userRoles/{userRolesId}`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/userRoles/{userRolesId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/userRoles/:userRolesId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an existing user role.

## Path parameters

- `userprofilesId` string, required
- `userRolesId` string, required

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
