Auth0 Node.js SDK - v5.1.0
    Preparing search index...

    Class ManagementClient

    Auth0 Management API client wrapper.

    Provides a high-level interface to Auth0's Management API with automatic token management, telemetry, and Auth0-specific configuration.

    const client = new ManagementClient({
    domain: 'your-tenant.auth0.com',
    clientId: 'your-client-id',
    clientSecret: 'your-client-secret'
    });
    const client = new ManagementClient({
    domain: 'your-tenant.auth0.com',
    clientId: 'your-client-id',
    clientAssertionSigningKey: 'your-private-key'
    });
    const client = new ManagementClient({
    domain: 'your-tenant.auth0.com',
    token: 'your-static-token' // or () => getAccessToken()
    });
    const client = new ManagementClient({
    domain: 'your-tenant.auth0.com',
    clientId: 'your-client-id',
    clientSecret: 'your-client-secret',
    withCustomDomainHeader: 'auth.example.com' // Auto-applies to whitelisted endpoints
    });
    const client = new ManagementClient({
    domain: 'your-tenant.auth0.com',
    clientId: 'your-client-id',
    clientSecret: 'your-client-secret',
    withCustomDomainHeader: 'auth.example.com', // Custom domain header logic
    fetcher: async (args) => {
    console.log('Making request:', args.url); // Custom logging
    return fetch(args.url, { ...args }); // Custom fetch implementation
    }
    });

    Hierarchy (View Summary)

    Index

    Management API

    Accessors

    • get actions(): Actions

      Returns Actions

    • get clients(): Clients

      Returns Clients

    • get flows(): Flows

      Returns Flows

    • get forms(): Forms

      Returns Forms

    • get hooks(): Hooks

      Returns Hooks

    • get jobs(): Jobs

      Returns Jobs

    • get logs(): Logs

      Returns Logs

    • get prompts(): Prompts

      Returns Prompts

    • get roles(): Roles

      Returns Roles

    • get rules(): Rules

      Returns Rules

    • get stats(): Stats

      Returns Stats

    • get tickets(): Tickets

      Returns Tickets

    • get users(): Users

      Returns Users

    • get anomaly(): Anomaly

      Returns Anomaly

    • get emails(): Emails

      Returns Emails

    • get keys(): Keys

      Returns Keys

    • get tenants(): Tenants

      Returns Tenants

    Properties

    _actions: Actions | undefined
    _branding: Branding | undefined
    _clientGrants: ClientGrants | undefined
    _clients: Clients | undefined
    _connections: Connections | undefined
    _customDomains: CustomDomains | undefined
    _deviceCredentials: DeviceCredentials | undefined
    _emailTemplates: EmailTemplates | undefined
    _eventStreams: EventStreams | undefined
    _flows: Flows | undefined
    _forms: Forms | undefined
    _userGrants: UserGrants | undefined
    _hooks: Hooks | undefined
    _jobs: Jobs | undefined
    _logStreams: LogStreams | undefined
    _logs: Logs | undefined
    _networkAcls: NetworkAcls | undefined
    _organizations: Organizations | undefined
    _prompts: Prompts | undefined
    _refreshTokens: RefreshTokens | undefined
    _resourceServers: ResourceServers | undefined
    _roles: Roles | undefined
    _rules: Rules | undefined
    _rulesConfigs: RulesConfigs | undefined
    _selfServiceProfiles: SelfServiceProfiles | undefined
    _sessions: Sessions | undefined
    _stats: Stats | undefined
    _supplementalSignals: SupplementalSignals | undefined
    _tickets: Tickets | undefined
    _tokenExchangeProfiles: TokenExchangeProfiles | undefined
    _userAttributeProfiles: UserAttributeProfiles | undefined
    _userBlocks: UserBlocks | undefined
    _users: Users | undefined
    _anomaly: Anomaly | undefined
    _attackProtection: AttackProtection | undefined
    _emails: Emails | undefined
    _guardian: Guardian | undefined
    _keys: Keys | undefined
    _riskAssessments: RiskAssessments | undefined
    _tenants: Tenants | undefined
    _verifiableCredentials: VerifiableCredentials | undefined