---
title: "Delete a role with the given name"
method: DELETE
path: "/roles/{roleName}"
tags: ["roles"]
---

# Delete a role with the given name

`DELETE /roles/{roleName}`

## Path parameters

- `roleName` string, required

## Query parameters

- `orgId` integer

## Response `204`

No Content - Role deleted successfully

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `404` — Role not found

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
