Passer au contenu principal
POST
/
keys
/
encryption
/
rekey
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.keys.encryption.rekey();
}
main();

Autorisations

Authorization
string
header
requis

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

Réponse

The key hierarchy was successfully rekeyed.