Skip to main content
POST
Go

承認

Authorization
string
header
必須

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

ボディ

body
string | null
必須

メールテンプレートの本文。

enabled
boolean | null
必須

テンプレートが有効か(true)、無効か(false)。

from
string | null
デフォルト:sender@auth0.com
必須

送信元の from メールアドレス。

subject
string | null
必須

メールの件名。

syntax
string | null
デフォルト:liquid
必須

テンプレート本文の構文。

template
enum<string>
デフォルト:verify_email
必須

テンプレート名。verify_emailverify_email_by_codereset_emailreset_email_by_codewelcome_emailblocked_accountstolen_credentialsenrollment_emailmfa_oob_codeuser_invitationasync_approvalchange_password(レガシー)、または password_reset(レガシー)を指定できます。

利用可能なオプション:
verify_email,
verify_email_by_code,
reset_email,
reset_email_by_code,
welcome_email,
blocked_account,
stolen_credentials,
enrollment_email,
mfa_oob_code,
user_invitation,
change_password,
password_reset,
async_approval
includeEmailInRedirect
boolean

reset_email および verify_email テンプレートで、returnUrl の email パラメーターにユーザーのメールアドレスを含めるか(true)、リダイレクト時にメールアドレスを含めないか(false)を指定します。既定値は true です。

resultUrl
string | null

アクションの完了後にユーザーをリダイレクトする URL。

urlLifetimeInSeconds
number | null

メール内のリンクの有効期間(秒)。

必須範囲: x >= 0

レスポンス

テンプレートが正常に作成されました。

body
string | null
必須

メールテンプレートの本文。

enabled
boolean | null
必須

テンプレートが有効か(true)、無効か(false)。

from
string | null
デフォルト:sender@auth0.com
必須

送信者の from メールアドレス。

subject
string | null
必須

メールの件名。

syntax
string | null
デフォルト:liquid
必須

テンプレート本文の構文。

template
enum<string>
デフォルト:verify_email
必須

テンプレート名。verify_emailverify_email_by_codereset_emailreset_email_by_codewelcome_emailblocked_accountstolen_credentialsenrollment_emailmfa_oob_codeuser_invitationasync_approvalchange_password(レガシー)、または password_reset(レガシー)を指定できます。

利用可能なオプション:
verify_email,
verify_email_by_code,
reset_email,
reset_email_by_code,
welcome_email,
blocked_account,
stolen_credentials,
enrollment_email,
mfa_oob_code,
user_invitation,
change_password,
password_reset,
async_approval
includeEmailInRedirect
boolean

reset_email および verify_email テンプレートで、returnUrl の email パラメーターにユーザーのメールアドレスを含めるか(true)、リダイレクト時にメールアドレスを含めないか(false)を指定します。既定値は true です。

resultUrl
string | null

操作が成功した後にユーザーをリダイレクトする URL。

urlLifetimeInSeconds
number | null

メール内のリンクの有効期間(秒)。

必須範囲: x >= 0