wihan/dev

docs /clerk / data sources

markdown
browse the clerk docs

clerk_organization (Data Source)

One organization, looked up by id or slug.

Example Usage

# Lookup by slug (the id works too).
data "clerk_organization" "acme" {
  lookup = "acme"
}

output "acme_org_id" {
  value = data.clerk_organization.acme.id
}

Schema

Required

  • lookup (String) The organization id (org_...) or its slug.

Read-Only

  • admin_delete_enabled (Boolean) true when organization admins can delete the organization.
  • id (String) Organization id.
  • max_allowed_memberships (Number) Maximum members. 0 means unlimited.
  • name (String) Organization name.
  • slug (String) Organization slug.