Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi
Data source to retrieve all organizations of the tenant. Optionally set includeClientAssociationFor to also return each organization’s entitlement to a given client (application).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
// An empty data source block retrieves every organization of the tenant.
const myOrganizations = auth0.getOrganizations({});
// Setting include_client_association_for additionally returns, for every organization
// associated with that client (application), the details of the association.
const myOrganizationsWithClientAssociation = auth0.getOrganizations({
includeClientAssociationFor: "AaiyAPdpYdesoKnqjj8HJqRn4T5titww",
});
import pulumi
import pulumi_auth0 as auth0
# An empty data source block retrieves every organization of the tenant.
my_organizations = auth0.get_organizations()
# Setting include_client_association_for additionally returns, for every organization
# associated with that client (application), the details of the association.
my_organizations_with_client_association = auth0.get_organizations(include_client_association_for="AaiyAPdpYdesoKnqjj8HJqRn4T5titww")
package main
import (
"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// An empty data source block retrieves every organization of the tenant.
_, err := auth0.GetOrganizations(ctx, &auth0.GetOrganizationsArgs{}, nil)
if err != nil {
return err
}
// Setting include_client_association_for additionally returns, for every organization
// associated with that client (application), the details of the association.
_, err = auth0.GetOrganizations(ctx, &auth0.GetOrganizationsArgs{
IncludeClientAssociationFor: pulumi.StringRef("AaiyAPdpYdesoKnqjj8HJqRn4T5titww"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;
return await Deployment.RunAsync(() =>
{
// An empty data source block retrieves every organization of the tenant.
var myOrganizations = Auth0.GetOrganizations.Invoke();
// Setting include_client_association_for additionally returns, for every organization
// associated with that client (application), the details of the association.
var myOrganizationsWithClientAssociation = Auth0.GetOrganizations.Invoke(new()
{
IncludeClientAssociationFor = "AaiyAPdpYdesoKnqjj8HJqRn4T5titww",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetOrganizationsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// An empty data source block retrieves every organization of the tenant.
final var myOrganizations = Auth0Functions.getOrganizations(GetOrganizationsArgs.builder()
.build());
// Setting include_client_association_for additionally returns, for every organization
// associated with that client (application), the details of the association.
final var myOrganizationsWithClientAssociation = Auth0Functions.getOrganizations(GetOrganizationsArgs.builder()
.includeClientAssociationFor("AaiyAPdpYdesoKnqjj8HJqRn4T5titww")
.build());
}
}
variables:
# An empty data source block retrieves every organization of the tenant.
myOrganizations:
fn::invoke:
function: auth0:getOrganizations
arguments: {}
# Setting include_client_association_for additionally returns, for every organization
# associated with that client (application), the details of the association.
myOrganizationsWithClientAssociation:
fn::invoke:
function: auth0:getOrganizations
arguments:
includeClientAssociationFor: AaiyAPdpYdesoKnqjj8HJqRn4T5titww
pulumi {
required_providers {
auth0 = {
source = "pulumi/auth0"
}
}
}
data "auth0_getorganizations" "myOrganizations" {
}
data "auth0_getorganizations" "myOrganizationsWithClientAssociation" {
include_client_association_for = "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
}
# An empty data source block retrieves every organization of the tenant.
# Setting include_client_association_for additionally returns, for every organization
# associated with that client (application), the details of the association.
Using getOrganizations
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrganizations(args: GetOrganizationsArgs, opts?: InvokeOptions): Promise<GetOrganizationsResult>
function getOrganizationsOutput(args: GetOrganizationsOutputArgs, opts?: InvokeOutputOptions): Output<GetOrganizationsResult>def get_organizations(include_client_association_for: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationsResult
def get_organizations_output(include_client_association_for: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrganizationsResult]func GetOrganizations(ctx *Context, args *GetOrganizationsArgs, opts ...InvokeOption) (*GetOrganizationsResult, error)
func GetOrganizationsOutput(ctx *Context, args *GetOrganizationsOutputArgs, opts ...InvokeOption) GetOrganizationsResultOutput> Note: This function is named GetOrganizations in the Go SDK.
public static class GetOrganizations
{
public static Task<GetOrganizationsResult> InvokeAsync(GetOrganizationsArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationsResult> Invoke(GetOrganizationsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationsResult> Invoke(GetOrganizationsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrganizationsResult> getOrganizations(GetOrganizationsArgs args, InvokeOptions options)
public static Output<GetOrganizationsResult> getOrganizations(GetOrganizationsArgs args, InvokeOptions options)
public static Output<GetOrganizationsResult> getOrganizations(GetOrganizationsArgs args, InvokeOutputOptions options)
fn::invoke:
function: auth0:index/getOrganizations:getOrganizations
arguments:
# arguments dictionarydata "auth0_get_organizations" "name" {
# arguments
}The following arguments are supported:
- Include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- Include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- include_
client_ stringassociation_ for - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- include
Client StringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- include_
client_ strassociation_ for - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- include
Client StringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
getOrganizations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Organizations
List<Get
Organizations Organization> - The list of organizations of the tenant.
- Include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organizations
[]Get
Organizations Organization - The list of organizations of the tenant.
- Include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- id string
- The provider-assigned unique ID for this managed resource.
- organizations list(object)
- The list of organizations of the tenant.
- include_
client_ stringassociation_ for - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- id String
- The provider-assigned unique ID for this managed resource.
- organizations
List<Get
Organizations Organization> - The list of organizations of the tenant.
- include
Client StringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- id string
- The provider-assigned unique ID for this managed resource.
- organizations
Get
Organizations Organization[] - The list of organizations of the tenant.
- include
Client stringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- id str
- The provider-assigned unique ID for this managed resource.
- organizations
Sequence[Get
Organizations Organization] - The list of organizations of the tenant.
- include_
client_ strassociation_ for - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
- id String
- The provider-assigned unique ID for this managed resource.
- organizations List<Property Map>
- The list of organizations of the tenant.
- include
Client StringAssociation For - The ID of a client (application). When set, every returned organization that is associated with this client gains a
clientblock describing that association (EA only).
Supporting Types
GetOrganizationsOrganization
- Brandings
List<Get
Organizations Organization Branding> - How to style the login pages for this organization.
- Clients
List<Get
Organizations Organization Client> - The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - Display
Name string - Friendly name of the organization.
- Is
App boolEntitlement Active - Whether this organization's app entitlement is active (EA only).
- Metadata Dictionary<string, string>
- Metadata associated with the organization.
- Name string
- The name of the organization.
- Organization
Id string - The ID of the organization.
- Third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - Token
Quotas List<GetOrganizations Organization Token Quota> - The token quota configuration for this organization.
- Brandings
[]Get
Organizations Organization Branding - How to style the login pages for this organization.
- Clients
[]Get
Organizations Organization Client - The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - Display
Name string - Friendly name of the organization.
- Is
App boolEntitlement Active - Whether this organization's app entitlement is active (EA only).
- Metadata map[string]string
- Metadata associated with the organization.
- Name string
- The name of the organization.
- Organization
Id string - The ID of the organization.
- Third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - Token
Quotas []GetOrganizations Organization Token Quota - The token quota configuration for this organization.
- brandings list(object)
- How to style the login pages for this organization.
- clients list(object)
- The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - display_
name string - Friendly name of the organization.
- is_
app_ boolentitlement_ active - Whether this organization's app entitlement is active (EA only).
- metadata map(string)
- Metadata associated with the organization.
- name string
- The name of the organization.
- organization_
id string - The ID of the organization.
- third_
party_ stringclient_ access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token_
quotas list(object) - The token quota configuration for this organization.
- brandings
List<Get
Organizations Organization Branding> - How to style the login pages for this organization.
- clients
List<Get
Organizations Organization Client> - The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - display
Name String - Friendly name of the organization.
- is
App BooleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata Map<String,String>
- Metadata associated with the organization.
- name String
- The name of the organization.
- organization
Id String - The ID of the organization.
- third
Party StringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas List<GetOrganizations Organization Token Quota> - The token quota configuration for this organization.
- brandings
Get
Organizations Organization Branding[] - How to style the login pages for this organization.
- clients
Get
Organizations Organization Client[] - The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - display
Name string - Friendly name of the organization.
- is
App booleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata {[key: string]: string}
- Metadata associated with the organization.
- name string
- The name of the organization.
- organization
Id string - The ID of the organization.
- third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas GetOrganizations Organization Token Quota[] - The token quota configuration for this organization.
- brandings
Sequence[Get
Organizations Organization Branding] - How to style the login pages for this organization.
- clients
Sequence[Get
Organizations Organization Client] - The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - display_
name str - Friendly name of the organization.
- is_
app_ boolentitlement_ active - Whether this organization's app entitlement is active (EA only).
- metadata Mapping[str, str]
- Metadata associated with the organization.
- name str
- The name of the organization.
- organization_
id str - The ID of the organization.
- third_
party_ strclient_ access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token_
quotas Sequence[GetOrganizations Organization Token Quota] - The token quota configuration for this organization.
- brandings List<Property Map>
- How to style the login pages for this organization.
- clients List<Property Map>
- The organization's association with the client passed as
includeClientAssociationFor. Empty for organizations that have no association with that client (EA only). - display
Name String - Friendly name of the organization.
- is
App BooleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata Map<String>
- Metadata associated with the organization.
- name String
- The name of the organization.
- organization
Id String - The ID of the organization.
- third
Party StringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas List<Property Map> - The token quota configuration for this organization.
GetOrganizationsOrganizationBranding
GetOrganizationsOrganizationClient
- Use
For boolMember Access - Whether organization members can log in via this client.
- Use
For boolMember Access - Whether organization members can log in via this client.
- use_
for_ boolmember_ access - Whether organization members can log in via this client.
- use
For BooleanMember Access - Whether organization members can log in via this client.
- use
For booleanMember Access - Whether organization members can log in via this client.
- use_
for_ boolmember_ access - Whether organization members can log in via this client.
- use
For BooleanMember Access - Whether organization members can log in via this client.
GetOrganizationsOrganizationTokenQuota
- Client
Credentials List<GetOrganizations Organization Token Quota Client Credential> - The token quota configuration for client credentials.
- Client
Credentials []GetOrganizations Organization Token Quota Client Credential - The token quota configuration for client credentials.
- client_
credentials list(object) - The token quota configuration for client credentials.
- client
Credentials List<GetOrganizations Organization Token Quota Client Credential> - The token quota configuration for client credentials.
- client
Credentials GetOrganizations Organization Token Quota Client Credential[] - The token quota configuration for client credentials.
- client_
credentials Sequence[GetOrganizations Organization Token Quota Client Credential] - The token quota configuration for client credentials.
- client
Credentials List<Property Map> - The token quota configuration for client credentials.
GetOrganizationsOrganizationTokenQuotaClientCredential
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi