Management API
Go
package example import ( client "github.com/auth0/go-auth0/management/client" option "github.com/auth0/go-auth0/management/option" context "context" ) func do() () { client := client.NewClient( option.WithToken( "<token>", ), ) client.Keys.Signing.Revoke( context.TODO(), "kid", ) }
{ "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
このページは役に立ちましたか?