---
title: "Delete Role"
method: DELETE
path: "/management/v1/role/{role_id}"
tags: ["role"]
---

# Delete Role

`DELETE /management/v1/role/{role_id}`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/role/{role_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/role/:role_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently removes a role and all its associated permissions.

## Path parameters

- `role_id` string, uuid, required

## Headers

- `x-project-id` string, nullable

## Response `204`

Role deleted successfully

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
