v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Users

Get a list of roles

Enterprise feature

Get a list of project, root and custom roles for Role-Based Access Control

get/api/admin/roles

Response

rolesWithVersionSchema

versioninteger required

The version of this schema

Example response

{
  "version": 1,
  "roles": [
    {
      "id": 9,
      "type": "root",
      "name": "Editor",
      "description": "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.",
      "project": "default"
    }
  ]
}