---
title: "Delete organization role"
method: DELETE
path: "/v1/roles/{roleId}"
tags: ["Roles"]
---

# Delete organization role

`DELETE /v1/roles/{roleId}`

Deletes a custom organization role after confirming that no members or pending invitations still depend on it.

## Path parameters

- `roleId` string, typeid, required

## Response `204`

Organization role deleted successfully.

## Other responses

- `400` — The role deletion request was invalid.
- `401` — The caller must be signed in to delete organization roles.
- `403` — Only workspace owners and super-admins can delete custom roles.
- `404` — The role or organization could not be found.

---

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