Passer au contenu principal
GET
/
stats
/
active-users
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.stats.getActiveUsersCount();
}
main();
100

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Réponse

Number of active users successfully retrieved.

Number of active users in the last 30 days.