---
title: "Remove a role from the user"
method: DELETE
path: "/api/v1beta1/users/{username}/roles/{role}"
tags: ["users", "rbac"]
---

# Remove a role from the user

`DELETE /api/v1beta1/users/{username}/roles/{role}`

## Response `200`

Delete user role

- Role
  - `role` string — The user's role

## Other responses

- `401` — Authentication failed
- `404` — A user with the given username doesn't exist

---

[API](https://skmtc.net/enseadaio/apis/enseada.md) · [All operations](https://skmtc.net/enseadaio/apis/enseada/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enseadaio/enseada/versions/e8c51f6a5e52/schema)
