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

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

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

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The id of the connection (currently only database connections are supported)

クエリパラメータ

email
string
必須

The email of the user to delete

レスポンス

The user no longer exists.