Passer au contenu principal
GET
/
rules-configs
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.rulesConfigs.list();
}
main();
[
  {
    "key": "MY_RULES_CONFIG_KEY"
  }
]

Autorisations

Authorization
string
header
requis

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

Réponse

Rules config keys successfully retrieved.

key
string
défaut:MY_RULES_CONFIG_KEY

Key for a rules config variable.

Required string length: 1 - 127
Pattern: ^[A-Za-z0-9_\-@*+:]*$