WorkOS · Schema

AddRolePermissionDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
slug string The slug of the permission to add to the role.
View JSON Schema on GitHub

JSON Schema

workos-addrolepermissiondto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AddRolePermissionDto",
  "title": "AddRolePermissionDto",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The slug of the permission to add to the role.",
      "example": "reports:export"
    }
  },
  "required": [
    "slug"
  ]
}