---
title: "Destroy Role"
method: DELETE
path: "/api/v1/roles/{role}"
tags: ["Role"]
---

# Destroy Role

`DELETE /api/v1/roles/{role}`

Destroy role by json config

## Path parameters

- `role` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2025-03-13** `520bdf6f2700` — 1 info
  - endpoint added
- **2021-11-29** `f61cd344dca7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/changes/api/v1/roles/:role/delete.md)

---

[API](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager.md) · [All operations](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dragonflyoss/dragonfly-manager/revisions/d9b0d442c9f4/schema)
