---
title: "Delete a tenant role"
method: DELETE
path: "/v1/Roles/definitions/{id}"
tags: ["Roles"]
---

# Delete a tenant role

`DELETE /v1/Roles/definitions/{id}`

## Request

- Base URL: `https://api.invendor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.invendor.com/v1/Roles/definitions/{id}`
- Auth: OAuth 2
  - Authorization code: `https://identity.scanbro.com/connect/authorize`
  - Token URL: `https://identity.scanbro.com/connect/token` scopes: `io.common`
- TypeScript: <https://skmtc.dev/invendor/apis/io-commonapi/docs/v1/Roles/definitions/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Only a user of the tenant primary account may delete roles (403 otherwise).
Refused with 409 while any user holds the role.

## Path parameters

- `id` string, required

## Query parameters

- `Account` unknown

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict

## Changes

- **2026-10-12** `1239b9eaa9bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/invendor/apis/io-commonapi/changes/v1/Roles/definitions/:id/delete.md)

---

[API](https://skmtc.dev/invendor/apis/io-commonapi.md) - [All operations](https://skmtc.dev/invendor/apis/io-commonapi/llms.txt) - [OpenAPI document](https://skmtc.dev/invendor/apis/io-commonapi/revisions/6a4a4fd7114d?raw)
