WorkOS · Schema
AuthorizationResource
AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP
Properties
| Name | Type | Description |
|---|---|---|
| object | string | Distinguishes the Resource object. |
| name | string | A human-readable name for the Resource. |
| description | stringnull | An optional description of the Resource. |
| organization_id | string | The ID of the organization that owns the resource. |
| parent_resource_id | stringnull | The ID of the parent resource, if this resource is nested. |
| id | string | The unique ID of the Resource. |
| external_id | string | An identifier you provide to reference the resource in your system. |
| resource_type_slug | string | The slug of the resource type this resource belongs to. |
| created_at | string | An ISO 8601 timestamp. |
| updated_at | string | An ISO 8601 timestamp. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AuthorizationResource",
"title": "AuthorizationResource",
"type": "object",
"properties": {
"object": {
"type": "string",
"description": "Distinguishes the Resource object.",
"const": "authorization_resource"
},
"name": {
"type": "string",
"description": "A human-readable name for the Resource.",
"example": "Website Redesign"
},
"description": {
"type": [
"string",
"null"
],
"description": "An optional description of the Resource.",
"example": "Company website redesign project"
},
"organization_id": {
"type": "string",
"description": "The ID of the organization that owns the resource.",
"example": "org_01EHZNVPK3SFK441A1RGBFSHRT"
},
"parent_resource_id": {
"type": [
"string",
"null"
],
"description": "The ID of the parent resource, if this resource is nested.",
"example": "authz_resource_01HXYZ123456789ABCDEFGHIJ"
},
"id": {
"type": "string",
"description": "The unique ID of the Resource.",
"example": "authz_resource_01HXYZ123456789ABCDEFGH"
},
"external_id": {
"type": "string",
"description": "An identifier you provide to reference the resource in your system.",
"example": "proj-456"
},
"resource_type_slug": {
"type": "string",
"description": "The slug of the resource type this resource belongs to.",
"example": "project"
},
"created_at": {
"format": "date-time",
"type": "string",
"description": "An ISO 8601 timestamp.",
"example": "2026-01-15T12:00:00.000Z"
},
"updated_at": {
"format": "date-time",
"type": "string",
"description": "An ISO 8601 timestamp.",
"example": "2026-01-15T12:00:00.000Z"
}
},
"required": [
"object",
"name",
"description",
"organization_id",
"parent_resource_id",
"id",
"external_id",
"resource_type_slug",
"created_at",
"updated_at"
]
}