---
title: "Delete a role. NRoles that are in use by policies attached to existing resources cannot be deleted."
method: DELETE
path: "/v2/security/rbac/{rba}"
tags: ["RBAC"]
---

# Delete a role. NRoles that are in use by policies attached to existing resources cannot be deleted.

`DELETE /v2/security/rbac/{rba}`

## Request

- Base URL: `https://docs.tetrate.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.tetrate.io/v2/security/rbac/{rba}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/docs/v2/security/rbac/:rba/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `rba` string, required

## Response `200`

A successful response.

- object

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api.md) - [All operations](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/revisions/2f19c3a1ae57?raw)
