Update email provider
Update an email provider. The credentials object
requires different properties depending on the email provider (which is specified using the name property):
mandrillrequiresapi_keysendgridrequiresapi_keysparkpostrequiresapi_key. Optionally, setregiontoeuto use the SparkPost service hosted in Western Europe; set tonullto use the SparkPost service hosted in North America.euornullare the only valid values forregion.mailgunrequiresapi_keyanddomain. Optionally, setregiontoeuto use the Mailgun service hosted in Europe; set tonullotherwise.euornullare the only valid values forregion.sesrequiresaccessKeyId,secretAccessKey, andregionsmtprequiressmtp_host,smtp_port,smtp_user, andsmtp_pass
Depending on the type of provider it is possible to specify settings object with different configuration
options, which will be used when sending an email:
-
smtpprovider,settingsmay containheadersobject.When using AWS SES SMTP host, you may provide a name of configuration set in
X-SES-Configuration-Setheader. Value must be a string. -
When using Sparkpost host, you may provide value for
X-MSYS_APIheader. Value must be an object.for
sesprovider,settingsmay containmessageobject, where you can provide a name of configuration set inconfiguration_set_nameproperty. Value must be a string.
Documentation Index
Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Name of the email provider. Can be mailgun, mandrill, sendgrid, resend, ses, sparkpost, smtp, azure_cs, ms365, or custom.
mailgun, mandrill, sendgrid, resend, ses, sparkpost, smtp, azure_cs, ms365, custom Whether the provider is enabled (true) or disabled (false).
Email address to use as "from" when no other address specified.
Credentials required to use the provider.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
Specific provider setting
Response
Email provider successfully updated.
Name of the email provider. Can be mailgun, mandrill, sendgrid, resend, ses, sparkpost, smtp, azure_cs, ms365, or custom.
Whether the provider is enabled (true) or disabled (false).
Email address to use as "from" when no other address specified.
Credentials required to use the provider.
Specific provider setting