---
title: "Delete Role"
method: DELETE
path: "/cabinet/admin/rbac/roles/{role_id}"
tags: ["Admin RBAC"]
---

# Delete Role

`DELETE /cabinet/admin/rbac/roles/{role_id}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/admin/rbac/roles/:role_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a custom admin role. System roles cannot be deleted.

## Path parameters

- `role_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
