Passer au contenu principal
DELETE
https://{tenantDomain}/api/v2
/
clients
/
{client_id}
/
credentials
/
{credential_id}
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.Clients.Credentials.Delete(
        context.TODO(),
        "client_id",
        "credential_id",
    )
}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

client_id
string
requis

ID of the client.

credential_id
string
requis

ID of the credential to delete.

Réponse

Credential successfully deleted.