WorkOS · Schema

RoleList

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string
data array The list of records for the current page.
View JSON Schema on GitHub

JSON Schema

workos-rolelist-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RoleList",
  "title": "RoleList",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "example": "list",
      "const": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Role"
      },
      "description": "The list of records for the current page."
    }
  },
  "required": [
    "object",
    "data"
  ]
}