メインコンテンツへスキップ
DELETE
https://{tenantDomain}/api/v2
/
users
/
{id}
/
authentication-methods
/
{authentication_method_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.Users.AuthenticationMethods.Delete(
        context.TODO(),
        "id",
        "authentication_method_id",
    )
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The ID of the user in question.

authentication_method_id
string
必須

The ID of the authentication method to delete.

レスポンス

Authentication method successfully deleted.