View Source Auth0.Management.Emails (Auth0Api v2.5.1)

Facade for the Auth0 Management API Emails endpoints.

Most applications should call Auth0.Api.Management instead of this module.

Summary

Functions

Create an email provider. The credentials object requires different properties depending on the email provider (which is specified using the name property)

Delete email provider.

Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified.

Update an email provider. The credentials object requires different properties depending on the email provider (which is specified using the name property)

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}

Functions

Link to this function

configure_provider(params, config)

View Source
@spec configure_provider(map(), config()) :: {:ok, map()} | error()

Create an email provider. The credentials object requires different properties depending on the email provider (which is specified using the name property):

see

https://auth0.com/docs/api/management/v2/emails/post-provider

@spec delete_provider(config()) :: {:ok, String.t()} | error()

Delete email provider.

Delete the email provider.

see

https://auth0.com/docs/api/management/v2/emails/delete-provider

Link to this function

get_provider(params, config)

View Source
@spec get_provider(map(), config()) :: {:ok, map()} | error()

Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified.

see

https://auth0.com/docs/api/management/v2/emails/get-provider

Link to this function

update_provider(params, config)

View Source
@spec update_provider(map(), config()) :: {:ok, map()} | error()

Update an email provider. The credentials object requires different properties depending on the email provider (which is specified using the name property):

see

https://auth0.com/docs/api/management/v2/emails/patch-provider