Skip to main content
PUT
/
keys
/
signing
/
{kid}
/
revoke
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

kid
string
required

Key id of the key to revoke

Response

Signing key revoked successfully.

cert
string
default:-----BEGIN CERTIFICATE----- MIIDDTCCA...YiA0TQhAt8= -----END CERTIFICATE-----
required

Revoked key certificate

kid
string
default:21hi274Rp02112mgkUGma
required

Revoked key id