---
title: "Unassign organization role from user"
method: DELETE
path: "/organization/users/{user_id}/roles/{role_id}"
tags: ["User organization role assignments"]
---

# Unassign organization role from user

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

Unassigns an organization role from a user within the organization.

## 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.

## Changes

- **2026-04-28** `fa32d6e7d961` — 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API

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

---

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