---
title: "Delete organization role"
method: DELETE
path: "/organization/roles/{role_id}"
tags: ["Roles"]
---

# Delete organization role

`DELETE /organization/roles/{role_id}`

Deletes a custom role from the organization.

## Path parameters

- `role_id` string, required

## Response `200`

Role deleted successfully.

- RoleDeletedResource — Confirmation payload returned after deleting a role.
  - `object` 'role.deleted', required — Always `role.deleted`.
  - `id` string, required — Identifier of the deleted role.
  - `deleted` boolean, required — Whether the role was deleted.

## Other responses

- `400` — The request parameters are invalid or the requested operation cannot be performed.
- `403` — The caller does not have permission to perform this operation.
- `404` — The endpoint is unavailable or a requested resource was not found in this organization or project.
- `429` — The request was rejected because a rate limit was exceeded.

## Changes

- **2026-09-28** `17f4bc11b90f` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
- **2026-09-08** `bb9b3b410112` — 1 info
  - added the non-success response with the status `429`
- **2026-05-13** `74cbcf73838f` — 1 info
  - endpoint added
- **2024-08-23** `5856f8b0c850` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openai/apis/openapi/changes/organization/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.dev/openai/apis/openapi/revisions/15eecad37dc3?raw)
