Kinde · Schema

Role

A Kinde role — a named bundle of permissions that can be assigned to a user within an organization. Roles drive Kinde's RBAC authorization model.

AuthenticationAuthorizationCustomer IdentityIdentity ManagementOAuthOpenID ConnectSingle Sign-OnMulti-Factor AuthenticationRole-Based Access ControlFeature FlagsBillingB2BSaaSDeveloper Platform

Properties

Name Type Description
id string
key string Stable string key used in code (e.g. `admin`, `viewer`).
name string Human-readable role name.
description stringnull
is_default_role boolean Whether new users in an org are auto-assigned this role.
View JSON Schema on GitHub

JSON Schema

kinde-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/kinde/role",
  "title": "Role",
  "description": "A Kinde role — a named bundle of permissions that can be assigned to a user within an organization. Roles drive Kinde's RBAC authorization model.",
  "type": "object",
  "required": ["id", "key"],
  "properties": {
    "id": {
      "type": "string"
    },
    "key": {
      "type": "string",
      "description": "Stable string key used in code (e.g. `admin`, `viewer`)."
    },
    "name": {
      "type": "string",
      "description": "Human-readable role name."
    },
    "description": {
      "type": ["string", "null"]
    },
    "is_default_role": {
      "type": "boolean",
      "description": "Whether new users in an org are auto-assigned this role."
    }
  }
}