Passer au contenu principal
POST
https://{tenantDomain}/api/v2
/
self-service-profiles
/
{profileId}
/
sso-ticket
/
{id}
/
revoke
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.SelfServiceProfiles.SsoTicket.Revoke(
        context.TODO(),
        "profileId",
        "id",
    )
}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

profileId
string
requis

L’id du profil en libre-service

id
string
requis

L’id du ticket à révoquer

Réponse

Demande de révocation du ticket d’accès de Configuration d’entreprise en libre-service acceptée.