package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
jobs "github.com/auth0/go-auth0/management/management/jobs"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &jobs.CreateVerificationEmailRequestContent{
UserId: "user_id",
}
client.Jobs.VerificationEmail.Create(
context.TODO(),
request,
)
}{
"status": "completed",
"type": "verification_email",
"id": "job_0000000000000001",
"created_at": "<string>"
}Send an email to the specified user that asks them to click a link to verify their email address.
Note: You must have the Status toggle enabled for the verification email template for the email to be sent.
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
jobs "github.com/auth0/go-auth0/management/management/jobs"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &jobs.CreateVerificationEmailRequestContent{
UserId: "user_id",
}
client.Jobs.VerificationEmail.Create(
context.TODO(),
request,
)
}{
"status": "completed",
"type": "verification_email",
"id": "job_0000000000000001",
"created_at": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0-quickstart-flutter-windows.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.
Custom domain to be used for this request
3 - 255user_id of the user to send the verification email to.
client_id of the client (application). If no value provided, the global Client ID will be used.
This must be provided to verify primary social, enterprise and passwordless email identities. Also, is needed to verify secondary identities.
Show child attributes
(Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.
Cette page vous a-t-elle été utile ?