Data source to retrieve a specific Auth0 organization by organization_id
or name
.
# An Auth0 Organization loaded using its name.
data "auth0_organization" "some-organization-by-name" {
name = "my-org"
}
# An Auth0 Organization loaded using its ID.
data "auth0_organization" "some-organization-by-id" {
organization_id = "org_abcdefghkijklmnopqrstuvwxyz0123456789"
}
name
(String) The name of the organization. If not provided, organization_id
must be set. For performance, it is advised to use the organization_id
as a lookup if possible.organization_id
(String) The ID of the organization. If not provided, name
must be set.branding
(List of Object) Defines how to style the login pages. (see below for nested schema)connections
(Set of Object) (see below for nested schema)display_name
(String) Friendly name of this organization.id
(String) The ID of this resource.members
(Set of String) User ID(s) that are members of the organization.metadata
(Map of String) Metadata associated with the organization. Maximum of 10 metadata properties allowed.branding
Read-Only:
colors
(Map of String)logo_url
(String)connections
Read-Only:
assign_membership_on_login
(Boolean)connection_id
(String)