メインコンテンツへスキップ
POST
/
jobs
/
verification-email
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.jobs.verificationEmail.create({
        userId: "user_id",
    });
}
main();
{
  "status": "completed",
  "type": "verification_email",
  "id": "job_0000000000000001",
  "created_at": "<string>"
}

承認

Authorization
string
header
必須

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

ボディ

user_id
string<user-id>
デフォルト:google-oauth2|1234
必須

user_id of the user to send the verification email to.

client_id
string<client-id>

client_id of the client (application). If no value provided, the global Client ID will be used.

identity
object

This must be provided to verify primary social, enterprise and passwordless email identities. Also, is needed to verify secondary identities.

organization_id
string<organization-id>
デフォルト:org_2eondWoxcMIpaLQc

(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.

レスポンス

Job successfully created.

status
string
デフォルト:completed
必須

Status of this job.

type
string
デフォルト:verification_email
必須

Type of job this is.

id
string
デフォルト:job_0000000000000001
必須

ID of this job.

created_at
string

When this job was created.