Auth0.Management.Branding (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Branding.

endpoint

  • /api/v2/branding
  • /api/v2/branding/templates/universal-login
  • /api/v2/branding/themes
  • /api/v2/branding/themes/default
  • /api/v2/branding/themes/{id}

Link to this section Summary

Functions

Create branding theme.

Delete branding theme.

Delete template for New Universal Login Experience.

Get branding settings.

Retrieve default branding theme.

Get branding theme.

Get template for New Universal Login Experience.

Set template for New Universal Login Experience.

Update branding settings.

Link to this section Types

Specs

config() :: Auth0.Config.t()

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

response_body() :: String.t()

Specs

theme_id() :: String.t()

Link to this section Functions

Link to this function

create_theme(params, config)

View Source

Specs

Create branding theme.

see

https://auth0.com/docs/api/management/v2#!/Branding/post_branding_theme

Link to this function

delete_theme(theme_id, config)

View Source

Specs

delete_theme(theme_id(), config()) ::
  {:ok, Auth0.Entity.Theme.t(), response_body()} | error()

Delete branding theme.

see

https://auth0.com/docs/api/management/v2#!/Branding/delete_branding_theme

Link to this function

delete_universal_login(config)

View Source

Specs

delete_universal_login(config()) :: {:ok, String.t(), response_body()} | error()

Delete template for New Universal Login Experience.

see

https://auth0.com/docs/api/management/v2/#!/Branding/delete_universal_login

Specs

Get branding settings.

see

https://auth0.com/docs/api/management/v2/#!/Branding/get_branding

Link to this function

get_default_theme(config)

View Source

Specs

get_default_theme(config()) ::
  {:ok, Auth0.Entity.Theme.t(), response_body()} | error()

Retrieve default branding theme.

see

https://auth0.com/docs/api/management/v2#!/Branding/get_default_branding_theme

Link to this function

get_theme(theme_id, config)

View Source

Specs

get_theme(theme_id(), config()) ::
  {:ok, Auth0.Entity.Theme.t(), response_body()} | error()

Get branding theme.

see

https://auth0.com/docs/api/management/v2#!/Branding/get_branding_theme

Link to this function

get_universal_login(config)

View Source

Specs

get_universal_login(config()) ::
  {:ok, Auth0.Entity.UniversalLogin.t(), response_body()} | error()

Get template for New Universal Login Experience.

see

https://auth0.com/docs/api/management/v2/#!/Branding/get_universal_login

Link to this function

set_universal_login(params, config)

View Source

Specs

Set template for New Universal Login Experience.

see

https://auth0.com/docs/api/management/v2/#!/Branding/put_universal_login

Specs

Update branding settings.

see

https://auth0.com/docs/api/management/v2/#!/Branding/patch_branding

Link to this function

update_theme(theme_id, params, config)

View Source

Specs

Update branding theme.

see

https://auth0.com/docs/api/management/v2#!/Branding/patch_branding_theme