Branding
branding
Methods
get/branding
Retrieve branding settings.
Update Branding Settings -> { colors, favicon_url, font, 1 more... }
patch/branding
Update branding settings.
Domain types
BrandingSettings = { colors, favicon_url, font, 1 more... }
Branding
Templates
branding.templates
Methods
Delete Template For New Universal Login Experience ->
delete/branding/templates/universal-login
Delete template for New Universal Login Experience
Get Template For New Universal Login Experience -> { body } | string
get/branding/templates/universal-login
Get template for New Universal Login Experience
Set Template For New Universal Login Experience ->
put/branding/templates/universal-login
Update the Universal Login branding template.
When content-type header is set to application/json, the expected body must be JSON:
{
"template": "<!DOCTYPE html><html><head>{%- auth0:head -%}</head><body>{%- auth0:widget -%}</body></html>"
}
When content-type header is set to text/html, the expected body must be the HTML template:
<!DOCTYPE html>
<code>
<html>
<head>
{%- auth0:head -%}
</head>
<body>
{%- auth0:widget -%}
</body>
</html>
</code>
Branding
Themes
branding.themes
Methods
Create Branding Theme -> { borders, colors, displayName, 4 more... }
post/branding/themes
Create branding theme.
Get Default Branding Theme -> { borders, colors, displayName, 4 more... }
get/branding/themes/default
Retrieve default branding theme.
Delete Branding Theme ->
delete/branding/themes/{themeId}
Delete branding theme.
get/branding/themes/{themeId}
Retrieve branding theme.
Update Branding Theme -> { borders, colors, displayName, 4 more... }
patch/branding/themes/{themeId}
Update branding theme.
Security
Example: Authorization: Bearer My Bearer Token
Parameters
themeId: string
Response fields
borders: { button_border_radius, button_border_weight, buttons_style, 6 more... }
colors: { body_text, error, header, 16 more... }
displayName: string
(maxLength: 2048)Display Name
fonts: { body_text, buttons_text, font_url, 6 more... }
page_background: { background_color, background_image_url, page_layout }
themeId: string
(maxLength: 32)Theme Id
widget: { header_text_alignment, logo_height, logo_position, 2 more... }
Request example
200Example
Domain types
BrandingTheme = { borders, colors, displayName, 4 more... }