---
title: "Unassigns an organization role from a user within the organization."
method: DELETE
path: "/organization/users/{user_id}/roles/{role_id}"
tags: ["User organization role assignments"]
---

# Unassigns an organization role from a user within the organization.

`DELETE /organization/users/{user_id}/roles/{role_id}`

## Path parameters

- `user_id` string, required
- `role_id` string, required

## Response `200`

Organization role unassigned from the user successfully.

- DeletedRoleAssignmentResource — Confirmation payload returned after unassigning a role.
  - `object` string, required — Identifier for the deleted assignment, such as `group.role.deleted` or `user.role.deleted`.
  - `deleted` boolean, required — Whether the assignment was removed.

## Other responses

- `429` — The request was rejected because a rate limit was exceeded.

## Changes

- **2026-08-14** `6ac2618eefd7` — 1 info
  - added the non-success response with the status `429`
- **2026-05-13** `74cbcf73838f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openai/apis/openapi/changes/organization/users/:user_id/roles/:role_id/delete.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/openapi/revisions/959ef977e135/schema)
