---
title: "Role definitions: the predefined roles and the tenant's own"
method: GET
path: "/v1/Roles/definitions"
tags: ["Roles"]
---

# Role definitions: the predefined roles and the tenant's own

`GET /v1/Roles/definitions`

## 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`
- 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/get.ts> (a function with typed inputs; its response is checked against the schema)

Most privileged first. Each role says what the caller may do with it (edit, delete, assign).

## Query parameters

- `Account` unknown

## Response `200`

Success

- RoleDefinitionResponse[]
  - `id` string, nullable
  - `name` string, nullable
  - `description` string, nullable
  - `rank` integer
  - `isSystem` boolean
  - `permissions` string[], nullable
  - `holderCount` integer
  - `canEdit` boolean
  - `canDelete` boolean
  - `canAssign` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

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

[Operation history](https://skmtc.dev/invendor/apis/io-commonapi/changes/v1/Roles/definitions/get.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)
