メインコンテンツへスキップ
PUT
https://{tenantDomain}/api/v2
/
keys
/
signing
/
{kid}
/
revoke
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"
}

承認

Authorization
string
header
必須

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

パスパラメータ

kid
string
必須

Key id of the key to revoke

レスポンス

Signing key revoked successfully.

cert
string
デフォルト:-----BEGIN CERTIFICATE----- MIIDDTCCA...YiA0TQhAt8= -----END CERTIFICATE-----
必須

Revoked key certificate

kid
string
デフォルト:21hi274Rp02112mgkUGma
必須

Revoked key id