---
title: "Delete a role assignment"
method: DELETE
path: "/roles/{id}/assignments"
tags: ["Roles"]
---

# Delete a role assignment

`DELETE /roles/{id}/assignments`

Removes the assigned user from a role and adds to the default role.

## Path parameters

- `id` integer, required

## Request body

- object
  - `user_id` integer, required — The ID of the user

## Response `200`

Delete assignment from a role

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The response data
    - `id` integer — The ID of the role the user was removed from

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/versions/bf863a979545/schema)
