The Clerk organization resource, with the fields listed in
coverage.json.
An organization is only present when one is active; see
Clerk.setActiveOrganization.
Decode an Organization from the JSON the shim sends.
{ "id": "org_1"
, "name": "Acme"
, "slug": "acme"
, "imageUrl": "https://img.clerk.com/acme"
, "hasImage": true
, "membersCount": 12
, "pendingInvitationsCount": 3
, "publicMetadata": {}
, "adminDeleteEnabled": true
, "maxAllowedMemberships": 25
, "selfServeSSOEnabled": false
, "exclusiveMembership": false
, "createdAt": 1700000000000
, "updatedAt": 1700003600000
}slug accepts null; both timestamps arrive as epoch milliseconds.
The active Clerk organization.
publicMetadatais passed through untouched as a JSON value, which is always an object.