SuperTokens · Schema

AssignRoleRequest

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
userId string
role string
tenantId string
View JSON Schema on GitHub

JSON Schema

supertokens-assignrolerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AssignRoleRequest",
  "title": "AssignRoleRequest",
  "type": "object",
  "required": [
    "userId",
    "role"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "role": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    }
  }
}