Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.keys.signing.revoke("kid"); } main();
{ "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----", "kid": "21hi274Rp02112mgkUGma" }
Revoke the application signing key with the given ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Key id of the key to revoke
Signing key revoked successfully.
Revoked key certificate
Revoked key id