---
title: "Delete Team Role"
method: DELETE
path: "/api/v1/team/roles/{role_id}"
tags: ["team"]
---

# Delete Team Role

`DELETE /api/v1/team/roles/{role_id}`

## Request

- Base URL: `https://api.getanana.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getanana.com/api/v1/team/roles/{role_id}`
- Auth: none declared

Delete a custom role nobody holds.

## Path parameters

- `role_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `404`: Not one of this organization's roles
- `409`: Admin or Member, or a role someone still holds
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-15** `83c033cd3325`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/team/roles/:role_id/delete.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/4d9d38769a75?raw)
