Stytch · Schema

api_session_v1_AuthorizationCheck

AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

Properties

Name Type Description
resource_id string A unique identifier of the RBAC Resource, provided by the developer and intended to be human-readable. A `resource_id` is not allowed to start with `stytch`, which is a special prefix used for Stytch
action string An action to take on a Resource.
View JSON Schema on GitHub

JSON Schema

stytch-api-session-v1-authorizationcheck-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/api_session_v1_AuthorizationCheck",
  "title": "api_session_v1_AuthorizationCheck",
  "type": "object",
  "properties": {
    "resource_id": {
      "type": "string",
      "description": "A unique identifier of the RBAC Resource, provided by the developer and intended to be human-readable.\n\n  A `resource_id` is not allowed to start with `stytch`, which is a special prefix used for Stytch default Resources with reserved `resource_id`s.\n  "
    },
    "action": {
      "type": "string",
      "description": "An action to take on a Resource."
    }
  },
  "required": [
    "resource_id",
    "action"
  ]
}