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,
)
}Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.
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,
)
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The id of the connection (currently only database connections are supported)
The email of the user to delete
The user no longer exists.
Cette page vous a-t-elle été utile ?