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)truewhen organization admins can delete the organization.id(String) Organization id.max_allowed_memberships(Number) Maximum members.0means unlimited.name(String) Organization name.slug(String) Organization slug.