1. Registry
  2. Packages
  3. Auth0 Provider
  4. API Docs
  5. getOrganizationClients
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
auth0 logo auth0 logo
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi

    Data source to retrieve all client (application) associations for a specific organization (EA only).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    const myOrgClients = auth0.getOrganizationClients({
        organizationId: "org_XXXXX",
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    my_org_clients = auth0.get_organization_clients(organization_id="org_XXXXX")
    
    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 {
    		_, err := auth0.GetOrganizationClients(ctx, &auth0.LookupOrganizationClientsArgs{
    			OrganizationId: "org_XXXXX",
    		}, 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(() => 
    {
        var myOrgClients = Auth0.GetOrganizationClients.Invoke(new()
        {
            OrganizationId = "org_XXXXX",
        });
    
    });
    
    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.GetOrganizationClientsArgs;
    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) {
            final var myOrgClients = Auth0Functions.getOrganizationClients(GetOrganizationClientsArgs.builder()
                .organizationId("org_XXXXX")
                .build());
    
        }
    }
    
    variables:
      myOrgClients:
        fn::invoke:
          function: auth0:getOrganizationClients
          arguments:
            organizationId: org_XXXXX
    
    pulumi {
      required_providers {
        auth0 = {
          source = "pulumi/auth0"
        }
      }
    }
    
    data "auth0_getorganizationclients" "myOrgClients" {
      organization_id = "org_XXXXX"
    }
    

    Using getOrganizationClients

    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 getOrganizationClients(args: GetOrganizationClientsArgs, opts?: InvokeOptions): Promise<GetOrganizationClientsResult>
    function getOrganizationClientsOutput(args: GetOrganizationClientsOutputArgs, opts?: InvokeOutputOptions): Output<GetOrganizationClientsResult>
    def get_organization_clients(organization_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOrganizationClientsResult
    def get_organization_clients_output(organization_id: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrganizationClientsResult]
    func LookupOrganizationClients(ctx *Context, args *LookupOrganizationClientsArgs, opts ...InvokeOption) (*LookupOrganizationClientsResult, error)
    func LookupOrganizationClientsOutput(ctx *Context, args *LookupOrganizationClientsOutputArgs, opts ...InvokeOption) LookupOrganizationClientsResultOutput

    > Note: This function is named LookupOrganizationClients in the Go SDK.

    public static class GetOrganizationClients 
    {
        public static Task<GetOrganizationClientsResult> InvokeAsync(GetOrganizationClientsArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationClientsResult> Invoke(GetOrganizationClientsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationClientsResult> Invoke(GetOrganizationClientsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetOrganizationClientsResult> getOrganizationClients(GetOrganizationClientsArgs args, InvokeOptions options)
    public static Output<GetOrganizationClientsResult> getOrganizationClients(GetOrganizationClientsArgs args, InvokeOptions options)
    public static Output<GetOrganizationClientsResult> getOrganizationClients(GetOrganizationClientsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: auth0:index/getOrganizationClients:getOrganizationClients
      arguments:
        # arguments dictionary
    data "auth0_get_organization_clients" "name" {
        # arguments
    }

    The following arguments are supported:

    OrganizationId string
    The ID of the organization to retrieve the client associations for.
    OrganizationId string
    The ID of the organization to retrieve the client associations for.
    organization_id string
    The ID of the organization to retrieve the client associations for.
    organizationId String
    The ID of the organization to retrieve the client associations for.
    organizationId string
    The ID of the organization to retrieve the client associations for.
    organization_id str
    The ID of the organization to retrieve the client associations for.
    organizationId String
    The ID of the organization to retrieve the client associations for.

    getOrganizationClients Result

    The following output properties are available:

    Clients List<GetOrganizationClientsClient>
    The list of clients (applications) associated with the organization.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The ID of the organization to retrieve the client associations for.
    Clients []GetOrganizationClientsClient
    The list of clients (applications) associated with the organization.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The ID of the organization to retrieve the client associations for.
    clients list(object)
    The list of clients (applications) associated with the organization.
    id string
    The provider-assigned unique ID for this managed resource.
    organization_id string
    The ID of the organization to retrieve the client associations for.
    clients List<GetOrganizationClientsClient>
    The list of clients (applications) associated with the organization.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The ID of the organization to retrieve the client associations for.
    clients GetOrganizationClientsClient[]
    The list of clients (applications) associated with the organization.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The ID of the organization to retrieve the client associations for.
    clients Sequence[GetOrganizationClientsClient]
    The list of clients (applications) associated with the organization.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The ID of the organization to retrieve the client associations for.
    clients List<Property Map>
    The list of clients (applications) associated with the organization.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The ID of the organization to retrieve the client associations for.

    Supporting Types

    GetOrganizationClientsClient

    AppType string
    The type of the associated client application.
    ClientId string
    The ID of the client (application) to associate with the organization.
    GrantTypes List<string>
    The grant types enabled for the associated client.
    IsFirstParty bool
    Whether the associated client is a first-party client (true) or not (false).
    LogoUri string
    The URI of the associated client's logo.
    Name string
    The name of the associated client.
    OrganizationUsage string
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    UseForMemberAccess bool
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    AppType string
    The type of the associated client application.
    ClientId string
    The ID of the client (application) to associate with the organization.
    GrantTypes []string
    The grant types enabled for the associated client.
    IsFirstParty bool
    Whether the associated client is a first-party client (true) or not (false).
    LogoUri string
    The URI of the associated client's logo.
    Name string
    The name of the associated client.
    OrganizationUsage string
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    UseForMemberAccess bool
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    app_type string
    The type of the associated client application.
    client_id string
    The ID of the client (application) to associate with the organization.
    grant_types list(string)
    The grant types enabled for the associated client.
    is_first_party bool
    Whether the associated client is a first-party client (true) or not (false).
    logo_uri string
    The URI of the associated client's logo.
    name string
    The name of the associated client.
    organization_usage string
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    use_for_member_access bool
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    appType String
    The type of the associated client application.
    clientId String
    The ID of the client (application) to associate with the organization.
    grantTypes List<String>
    The grant types enabled for the associated client.
    isFirstParty Boolean
    Whether the associated client is a first-party client (true) or not (false).
    logoUri String
    The URI of the associated client's logo.
    name String
    The name of the associated client.
    organizationUsage String
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    useForMemberAccess Boolean
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    appType string
    The type of the associated client application.
    clientId string
    The ID of the client (application) to associate with the organization.
    grantTypes string[]
    The grant types enabled for the associated client.
    isFirstParty boolean
    Whether the associated client is a first-party client (true) or not (false).
    logoUri string
    The URI of the associated client's logo.
    name string
    The name of the associated client.
    organizationUsage string
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    useForMemberAccess boolean
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    app_type str
    The type of the associated client application.
    client_id str
    The ID of the client (application) to associate with the organization.
    grant_types Sequence[str]
    The grant types enabled for the associated client.
    is_first_party bool
    Whether the associated client is a first-party client (true) or not (false).
    logo_uri str
    The URI of the associated client's logo.
    name str
    The name of the associated client.
    organization_usage str
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    use_for_member_access bool
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
    appType String
    The type of the associated client application.
    clientId String
    The ID of the client (application) to associate with the organization.
    grantTypes List<String>
    The grant types enabled for the associated client.
    isFirstParty Boolean
    Whether the associated client is a first-party client (true) or not (false).
    logoUri String
    The URI of the associated client's logo.
    name String
    The name of the associated client.
    organizationUsage String
    How the associated client handles organizations during authentication. Available values are deny, allow or require. This is a read-only reflection of the client's own organizationUsage setting and is managed on the auth0.Client resource, not here.
    useForMemberAccess Boolean
    Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo auth0 logo
    Viewing docs for Auth0 v3.51.0
    published on Tuesday, Aug 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial