メインコンテンツへスキップ
DELETE
https://{tenantDomain}/api/v2
/
connections
/
{id}
/
users
Go
package example

import (
    context "context"

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

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    request := &connections.DeleteConnectionUsersByEmailQueryParameters{
        Email: "email",
    }
    client.Connections.Users.DeleteByEmail(
        context.TODO(),
        "id",
        request,
    )
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

接続の id(現在サポートされているのはデータベース接続のみ)

クエリパラメータ

email
string
必須

削除するユーザーのメールアドレス

レスポンス

ユーザーはすでに存在しません。