---
title: "Delete RGW role"
method: DELETE
path: "/api/rgw/roles/{role_name}"
tags: ["RGW"]
---

# Delete RGW role

`DELETE /api/rgw/roles/{role_name}`

## Path parameters

- `role_name` string, required

## Response `202`

Operation is still executing. Please check the task queue.

- object

## Other responses

- `204` — Resource deleted.
- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-06-16** `1c8b90eca98f` — 1 info
  - endpoint added
- **2026-06-10** `ba49ede1b529` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/rgw/roles/:role_name/delete.md)

---

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