C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Branding;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.Branding.Themes.CreateAsync(
new CreateBrandingThemeRequestContent {
Borders = new BrandingThemeBorders {
ButtonBorderRadius = 1.1,
ButtonBorderWeight = 1.1,
ButtonsStyle = BrandingThemeBordersButtonsStyleEnum.Pill,
InputBorderRadius = 1.1,
InputBorderWeight = 1.1,
InputsStyle = BrandingThemeBordersInputsStyleEnum.Pill,
ShowWidgetShadow = true,
WidgetBorderWeight = 1.1,
WidgetCornerRadius = 1.1
},
Colors = new BrandingThemeColors {
BodyText = "body_text",
Error = "error",
Header = "header",
Icons = "icons",
InputBackground = "input_background",
InputBorder = "input_border",
InputFilledText = "input_filled_text",
InputLabelsPlaceholders = "input_labels_placeholders",
LinksFocusedComponents = "links_focused_components",
PrimaryButton = "primary_button",
PrimaryButtonLabel = "primary_button_label",
SecondaryButtonBorder = "secondary_button_border",
SecondaryButtonLabel = "secondary_button_label",
Success = "success",
WidgetBackground = "widget_background",
WidgetBorder = "widget_border"
},
Fonts = new BrandingThemeFonts {
BodyText = new BrandingThemeFontBodyText {
Bold = true,
Size = 1.1
},
ButtonsText = new BrandingThemeFontButtonsText {
Bold = true,
Size = 1.1
},
FontUrl = "font_url",
InputLabels = new BrandingThemeFontInputLabels {
Bold = true,
Size = 1.1
},
Links = new BrandingThemeFontLinks {
Bold = true,
Size = 1.1
},
LinksStyle = BrandingThemeFontLinksStyleEnum.Normal,
ReferenceTextSize = 1.1,
Subtitle = new BrandingThemeFontSubtitle {
Bold = true,
Size = 1.1
},
Title = new BrandingThemeFontTitle {
Bold = true,
Size = 1.1
}
},
PageBackground = new BrandingThemePageBackground {
BackgroundColor = "background_color",
BackgroundImageUrl = "background_image_url",
PageLayout = BrandingThemePageBackgroundPageLayoutEnum.Center
},
Widget = new BrandingThemeWidget {
HeaderTextAlignment = BrandingThemeWidgetHeaderTextAlignmentEnum.Center,
LogoHeight = 1.1,
LogoPosition = BrandingThemeWidgetLogoPositionEnum.Center,
LogoUrl = "logo_url",
SocialButtonsLayout = BrandingThemeWidgetSocialButtonsLayoutEnum.Bottom
}
}
);
}
}
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
branding "github.com/auth0/go-auth0/management/management/branding"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &branding.CreateBrandingThemeRequestContent{
Borders: &management.BrandingThemeBorders{
ButtonBorderRadius: 1.1,
ButtonBorderWeight: 1.1,
ButtonsStyle: management.BrandingThemeBordersButtonsStyleEnumPill,
InputBorderRadius: 1.1,
InputBorderWeight: 1.1,
InputsStyle: management.BrandingThemeBordersInputsStyleEnumPill,
ShowWidgetShadow: true,
WidgetBorderWeight: 1.1,
WidgetCornerRadius: 1.1,
},
Colors: &management.BrandingThemeColors{
BodyText: "body_text",
Error: "error",
Header: "header",
Icons: "icons",
InputBackground: "input_background",
InputBorder: "input_border",
InputFilledText: "input_filled_text",
InputLabelsPlaceholders: "input_labels_placeholders",
LinksFocusedComponents: "links_focused_components",
PrimaryButton: "primary_button",
PrimaryButtonLabel: "primary_button_label",
SecondaryButtonBorder: "secondary_button_border",
SecondaryButtonLabel: "secondary_button_label",
Success: "success",
WidgetBackground: "widget_background",
WidgetBorder: "widget_border",
},
Fonts: &management.BrandingThemeFonts{
BodyText: &management.BrandingThemeFontBodyText{
Bold: true,
Size: 1.1,
},
ButtonsText: &management.BrandingThemeFontButtonsText{
Bold: true,
Size: 1.1,
},
FontUrl: "font_url",
InputLabels: &management.BrandingThemeFontInputLabels{
Bold: true,
Size: 1.1,
},
Links: &management.BrandingThemeFontLinks{
Bold: true,
Size: 1.1,
},
LinksStyle: management.BrandingThemeFontLinksStyleEnumNormal,
ReferenceTextSize: 1.1,
Subtitle: &management.BrandingThemeFontSubtitle{
Bold: true,
Size: 1.1,
},
Title: &management.BrandingThemeFontTitle{
Bold: true,
Size: 1.1,
},
},
PageBackground: &management.BrandingThemePageBackground{
BackgroundColor: "background_color",
BackgroundImageUrl: "background_image_url",
PageLayout: management.BrandingThemePageBackgroundPageLayoutEnumCenter,
},
Widget: &management.BrandingThemeWidget{
HeaderTextAlignment: management.BrandingThemeWidgetHeaderTextAlignmentEnumCenter,
LogoHeight: 1.1,
LogoPosition: management.BrandingThemeWidgetLogoPositionEnumCenter,
LogoUrl: "logo_url",
SocialButtonsLayout: management.BrandingThemeWidgetSocialButtonsLayoutEnumBottom,
},
}
client.Branding.Themes.Create(
context.TODO(),
request,
)
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.branding.themes.requests.CreateBrandingThemeRequestContent;
import com.auth0.client.mgmt.types.BrandingThemeBorders;
import com.auth0.client.mgmt.types.BrandingThemeBordersButtonsStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeBordersInputsStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeColors;
import com.auth0.client.mgmt.types.BrandingThemeFontBodyText;
import com.auth0.client.mgmt.types.BrandingThemeFontButtonsText;
import com.auth0.client.mgmt.types.BrandingThemeFontInputLabels;
import com.auth0.client.mgmt.types.BrandingThemeFontLinks;
import com.auth0.client.mgmt.types.BrandingThemeFontLinksStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeFontSubtitle;
import com.auth0.client.mgmt.types.BrandingThemeFontTitle;
import com.auth0.client.mgmt.types.BrandingThemeFonts;
import com.auth0.client.mgmt.types.BrandingThemePageBackground;
import com.auth0.client.mgmt.types.BrandingThemePageBackgroundPageLayoutEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidget;
import com.auth0.client.mgmt.types.BrandingThemeWidgetHeaderTextAlignmentEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidgetLogoPositionEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidgetSocialButtonsLayoutEnum;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.token("<token>")
.build();
client.branding().themes().create(
CreateBrandingThemeRequestContent
.builder()
.borders(
BrandingThemeBorders
.builder()
.buttonBorderRadius(1.1)
.buttonBorderWeight(1.1)
.buttonsStyle(BrandingThemeBordersButtonsStyleEnum.PILL)
.inputBorderRadius(1.1)
.inputBorderWeight(1.1)
.inputsStyle(BrandingThemeBordersInputsStyleEnum.PILL)
.showWidgetShadow(true)
.widgetBorderWeight(1.1)
.widgetCornerRadius(1.1)
.build()
)
.colors(
BrandingThemeColors
.builder()
.bodyText("body_text")
.error("error")
.header("header")
.icons("icons")
.inputBackground("input_background")
.inputBorder("input_border")
.inputFilledText("input_filled_text")
.inputLabelsPlaceholders("input_labels_placeholders")
.linksFocusedComponents("links_focused_components")
.primaryButton("primary_button")
.primaryButtonLabel("primary_button_label")
.secondaryButtonBorder("secondary_button_border")
.secondaryButtonLabel("secondary_button_label")
.success("success")
.widgetBackground("widget_background")
.widgetBorder("widget_border")
.build()
)
.fonts(
BrandingThemeFonts
.builder()
.bodyText(
BrandingThemeFontBodyText
.builder()
.bold(true)
.size(1.1)
.build()
)
.buttonsText(
BrandingThemeFontButtonsText
.builder()
.bold(true)
.size(1.1)
.build()
)
.fontUrl("font_url")
.inputLabels(
BrandingThemeFontInputLabels
.builder()
.bold(true)
.size(1.1)
.build()
)
.links(
BrandingThemeFontLinks
.builder()
.bold(true)
.size(1.1)
.build()
)
.linksStyle(BrandingThemeFontLinksStyleEnum.NORMAL)
.referenceTextSize(1.1)
.subtitle(
BrandingThemeFontSubtitle
.builder()
.bold(true)
.size(1.1)
.build()
)
.title(
BrandingThemeFontTitle
.builder()
.bold(true)
.size(1.1)
.build()
)
.build()
)
.pageBackground(
BrandingThemePageBackground
.builder()
.backgroundColor("background_color")
.backgroundImageUrl("background_image_url")
.pageLayout(BrandingThemePageBackgroundPageLayoutEnum.CENTER)
.build()
)
.widget(
BrandingThemeWidget
.builder()
.headerTextAlignment(BrandingThemeWidgetHeaderTextAlignmentEnum.CENTER)
.logoHeight(1.1)
.logoPosition(BrandingThemeWidgetLogoPositionEnum.CENTER)
.logoUrl("logo_url")
.socialButtonsLayout(BrandingThemeWidgetSocialButtonsLayoutEnum.BOTTOM)
.build()
)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\Branding\Themes\Requests\CreateBrandingThemeRequestContent;
use Auth0\SDK\API\Management\Types\BrandingThemeBorders;
use Auth0\SDK\API\Management\Types\BrandingThemeBordersButtonsStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeBordersInputsStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeColors;
use Auth0\SDK\API\Management\Types\BrandingThemeFonts;
use Auth0\SDK\API\Management\Types\BrandingThemeFontBodyText;
use Auth0\SDK\API\Management\Types\BrandingThemeFontButtonsText;
use Auth0\SDK\API\Management\Types\BrandingThemeFontInputLabels;
use Auth0\SDK\API\Management\Types\BrandingThemeFontLinks;
use Auth0\SDK\API\Management\Types\BrandingThemeFontLinksStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeFontSubtitle;
use Auth0\SDK\API\Management\Types\BrandingThemeFontTitle;
use Auth0\SDK\API\Management\Types\BrandingThemePageBackground;
use Auth0\SDK\API\Management\Types\BrandingThemePageBackgroundPageLayoutEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidget;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetHeaderTextAlignmentEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetLogoPositionEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetSocialButtonsLayoutEnum;
$client = new Management(
token: '<token>',
);
$client->branding->themes->create(
new CreateBrandingThemeRequestContent([
'borders' => new BrandingThemeBorders([
'buttonBorderRadius' => 1.1,
'buttonBorderWeight' => 1.1,
'buttonsStyle' => BrandingThemeBordersButtonsStyleEnum::Pill->value,
'inputBorderRadius' => 1.1,
'inputBorderWeight' => 1.1,
'inputsStyle' => BrandingThemeBordersInputsStyleEnum::Pill->value,
'showWidgetShadow' => true,
'widgetBorderWeight' => 1.1,
'widgetCornerRadius' => 1.1,
]),
'colors' => new BrandingThemeColors([
'bodyText' => 'body_text',
'error' => 'error',
'header' => 'header',
'icons' => 'icons',
'inputBackground' => 'input_background',
'inputBorder' => 'input_border',
'inputFilledText' => 'input_filled_text',
'inputLabelsPlaceholders' => 'input_labels_placeholders',
'linksFocusedComponents' => 'links_focused_components',
'primaryButton' => 'primary_button',
'primaryButtonLabel' => 'primary_button_label',
'secondaryButtonBorder' => 'secondary_button_border',
'secondaryButtonLabel' => 'secondary_button_label',
'success' => 'success',
'widgetBackground' => 'widget_background',
'widgetBorder' => 'widget_border',
]),
'fonts' => new BrandingThemeFonts([
'bodyText' => new BrandingThemeFontBodyText([
'bold' => true,
'size' => 1.1,
]),
'buttonsText' => new BrandingThemeFontButtonsText([
'bold' => true,
'size' => 1.1,
]),
'fontUrl' => 'font_url',
'inputLabels' => new BrandingThemeFontInputLabels([
'bold' => true,
'size' => 1.1,
]),
'links' => new BrandingThemeFontLinks([
'bold' => true,
'size' => 1.1,
]),
'linksStyle' => BrandingThemeFontLinksStyleEnum::Normal->value,
'referenceTextSize' => 1.1,
'subtitle' => new BrandingThemeFontSubtitle([
'bold' => true,
'size' => 1.1,
]),
'title' => new BrandingThemeFontTitle([
'bold' => true,
'size' => 1.1,
]),
]),
'pageBackground' => new BrandingThemePageBackground([
'backgroundColor' => 'background_color',
'backgroundImageUrl' => 'background_image_url',
'pageLayout' => BrandingThemePageBackgroundPageLayoutEnum::Center->value,
]),
'widget' => new BrandingThemeWidget([
'headerTextAlignment' => BrandingThemeWidgetHeaderTextAlignmentEnum::Center->value,
'logoHeight' => 1.1,
'logoPosition' => BrandingThemeWidgetLogoPositionEnum::Center->value,
'logoUrl' => 'logo_url',
'socialButtonsLayout' => BrandingThemeWidgetSocialButtonsLayoutEnum::Bottom->value,
]),
]),
);
from auth0.management import ManagementClient, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget
client = ManagementClient(
token="<token>",
)
client.branding.themes.create(
borders=BrandingThemeBorders(
button_border_radius=1.1,
button_border_weight=1.1,
buttons_style="pill",
input_border_radius=1.1,
input_border_weight=1.1,
inputs_style="pill",
show_widget_shadow=True,
widget_border_weight=1.1,
widget_corner_radius=1.1,
),
colors=BrandingThemeColors(
body_text="body_text",
error="error",
header="header",
icons="icons",
input_background="input_background",
input_border="input_border",
input_filled_text="input_filled_text",
input_labels_placeholders="input_labels_placeholders",
links_focused_components="links_focused_components",
primary_button="primary_button",
primary_button_label="primary_button_label",
secondary_button_border="secondary_button_border",
secondary_button_label="secondary_button_label",
success="success",
widget_background="widget_background",
widget_border="widget_border",
),
fonts=BrandingThemeFonts(
body_text=BrandingThemeFontBodyText(
bold=True,
size=1.1,
),
buttons_text=BrandingThemeFontButtonsText(
bold=True,
size=1.1,
),
font_url="font_url",
input_labels=BrandingThemeFontInputLabels(
bold=True,
size=1.1,
),
links=BrandingThemeFontLinks(
bold=True,
size=1.1,
),
links_style="normal",
reference_text_size=1.1,
subtitle=BrandingThemeFontSubtitle(
bold=True,
size=1.1,
),
title=BrandingThemeFontTitle(
bold=True,
size=1.1,
),
),
page_background=BrandingThemePageBackground(
background_color="background_color",
background_image_url="background_image_url",
page_layout="center",
),
widget=BrandingThemeWidget(
header_text_alignment="center",
logo_height=1.1,
logo_position="center",
logo_url="logo_url",
social_buttons_layout="bottom",
),
)
require "auth0"
client = Auth0::Management.new(token: "<token>")
client.branding.themes.create(
borders: {
button_border_radius: 1.1,
button_border_weight: 1.1,
buttons_style: "pill",
input_border_radius: 1.1,
input_border_weight: 1.1,
inputs_style: "pill",
show_widget_shadow: true,
widget_border_weight: 1.1,
widget_corner_radius: 1.1
},
colors: {
body_text: "body_text",
error: "error",
header: "header",
icons: "icons",
input_background: "input_background",
input_border: "input_border",
input_filled_text: "input_filled_text",
input_labels_placeholders: "input_labels_placeholders",
links_focused_components: "links_focused_components",
primary_button: "primary_button",
primary_button_label: "primary_button_label",
secondary_button_border: "secondary_button_border",
secondary_button_label: "secondary_button_label",
success: "success",
widget_background: "widget_background",
widget_border: "widget_border"
},
fonts: {
body_text: {
bold: true,
size: 1.1
},
buttons_text: {
bold: true,
size: 1.1
},
font_url: "font_url",
input_labels: {
bold: true,
size: 1.1
},
links: {
bold: true,
size: 1.1
},
links_style: "normal",
reference_text_size: 1.1,
subtitle: {
bold: true,
size: 1.1
},
title: {
bold: true,
size: 1.1
}
},
page_background: {
background_color: "background_color",
background_image_url: "background_image_url",
page_layout: "center"
},
widget: {
header_text_alignment: "center",
logo_height: 1.1,
logo_position: "center",
logo_url: "logo_url",
social_buttons_layout: "bottom"
}
)
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.branding.themes.create({
borders: {
buttonBorderRadius: 1.1,
buttonBorderWeight: 1.1,
buttonsStyle: "pill",
inputBorderRadius: 1.1,
inputBorderWeight: 1.1,
inputsStyle: "pill",
showWidgetShadow: true,
widgetBorderWeight: 1.1,
widgetCornerRadius: 1.1,
},
colors: {
bodyText: "body_text",
error: "error",
header: "header",
icons: "icons",
inputBackground: "input_background",
inputBorder: "input_border",
inputFilledText: "input_filled_text",
inputLabelsPlaceholders: "input_labels_placeholders",
linksFocusedComponents: "links_focused_components",
primaryButton: "primary_button",
primaryButtonLabel: "primary_button_label",
secondaryButtonBorder: "secondary_button_border",
secondaryButtonLabel: "secondary_button_label",
success: "success",
widgetBackground: "widget_background",
widgetBorder: "widget_border",
},
fonts: {
bodyText: {
bold: true,
size: 1.1,
},
buttonsText: {
bold: true,
size: 1.1,
},
fontUrl: "font_url",
inputLabels: {
bold: true,
size: 1.1,
},
links: {
bold: true,
size: 1.1,
},
linksStyle: "normal",
referenceTextSize: 1.1,
subtitle: {
bold: true,
size: 1.1,
},
title: {
bold: true,
size: 1.1,
},
},
pageBackground: {
backgroundColor: "background_color",
backgroundImageUrl: "background_image_url",
pageLayout: "center",
},
widget: {
headerTextAlignment: "center",
logoHeight: 1.1,
logoPosition: "center",
logoUrl: "logo_url",
socialButtonsLayout: "bottom",
},
});
}
main();
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.branding.themes.create({
borders: {
buttonBorderRadius: 1.1,
buttonBorderWeight: 1.1,
buttonsStyle: "pill",
inputBorderRadius: 1.1,
inputBorderWeight: 1.1,
inputsStyle: "pill",
showWidgetShadow: true,
widgetBorderWeight: 1.1,
widgetCornerRadius: 1.1,
},
colors: {
bodyText: "body_text",
error: "error",
header: "header",
icons: "icons",
inputBackground: "input_background",
inputBorder: "input_border",
inputFilledText: "input_filled_text",
inputLabelsPlaceholders: "input_labels_placeholders",
linksFocusedComponents: "links_focused_components",
primaryButton: "primary_button",
primaryButtonLabel: "primary_button_label",
secondaryButtonBorder: "secondary_button_border",
secondaryButtonLabel: "secondary_button_label",
success: "success",
widgetBackground: "widget_background",
widgetBorder: "widget_border",
},
fonts: {
bodyText: {
bold: true,
size: 1.1,
},
buttonsText: {
bold: true,
size: 1.1,
},
fontUrl: "font_url",
inputLabels: {
bold: true,
size: 1.1,
},
links: {
bold: true,
size: 1.1,
},
linksStyle: "normal",
referenceTextSize: 1.1,
subtitle: {
bold: true,
size: 1.1,
},
title: {
bold: true,
size: 1.1,
},
},
pageBackground: {
backgroundColor: "background_color",
backgroundImageUrl: "background_image_url",
pageLayout: "center",
},
widget: {
headerTextAlignment: "center",
logoHeight: 1.1,
logoPosition: "center",
logoUrl: "logo_url",
socialButtonsLayout: "bottom",
},
});
}
main();
curl --request POST \
--url https://{tenantDomain}/api/v2/branding/themes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"borders": {
"button_border_radius": 5.5,
"button_border_weight": 5,
"input_border_radius": 5,
"input_border_weight": 1.5,
"show_widget_shadow": true,
"widget_border_weight": 5,
"widget_corner_radius": 25
},
"colors": {
"body_text": "<string>",
"error": "<string>",
"header": "<string>",
"icons": "<string>",
"input_background": "<string>",
"input_border": "<string>",
"input_filled_text": "<string>",
"input_labels_placeholders": "<string>",
"links_focused_components": "<string>",
"primary_button": "<string>",
"primary_button_label": "<string>",
"secondary_button_border": "<string>",
"secondary_button_label": "<string>",
"success": "<string>",
"widget_background": "<string>",
"widget_border": "<string>",
"base_focus_color": "<string>",
"base_hover_color": "<string>",
"read_only_background": "<string>"
},
"fonts": {
"body_text": {
"bold": true,
"size": 75
},
"buttons_text": {
"bold": true,
"size": 75
},
"font_url": "<string>",
"input_labels": {
"bold": true,
"size": 75
},
"links": {
"bold": true,
"size": 75
},
"reference_text_size": 18,
"subtitle": {
"bold": true,
"size": 75
},
"title": {
"bold": true,
"size": 112.5
}
},
"page_background": {
"background_color": "<string>",
"background_image_url": "<string>"
},
"widget": {
"logo_height": 50.5,
"logo_url": "<string>"
},
"displayName": "<string>"
}
'{
"borders": {
"button_border_radius": 5.5,
"button_border_weight": 5,
"input_border_radius": 5,
"input_border_weight": 1.5,
"show_widget_shadow": true,
"widget_border_weight": 5,
"widget_corner_radius": 25
},
"colors": {
"body_text": "<string>",
"error": "<string>",
"header": "<string>",
"icons": "<string>",
"input_background": "<string>",
"input_border": "<string>",
"input_filled_text": "<string>",
"input_labels_placeholders": "<string>",
"links_focused_components": "<string>",
"primary_button": "<string>",
"primary_button_label": "<string>",
"secondary_button_border": "<string>",
"secondary_button_label": "<string>",
"success": "<string>",
"widget_background": "<string>",
"widget_border": "<string>",
"base_focus_color": "<string>",
"base_hover_color": "<string>",
"read_only_background": "<string>"
},
"displayName": "<string>",
"fonts": {
"body_text": {
"bold": true,
"size": 75
},
"buttons_text": {
"bold": true,
"size": 75
},
"font_url": "<string>",
"input_labels": {
"bold": true,
"size": 75
},
"links": {
"bold": true,
"size": 75
},
"reference_text_size": 18,
"subtitle": {
"bold": true,
"size": 75
},
"title": {
"bold": true,
"size": 112.5
}
},
"page_background": {
"background_color": "<string>",
"background_image_url": "<string>"
},
"themeId": "<string>",
"widget": {
"logo_height": 50.5,
"logo_url": "<string>"
}
}Create branding theme
Create branding theme.
POST
https://{tenantDomain}/api/v2
/
branding
/
themes
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Branding;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.Branding.Themes.CreateAsync(
new CreateBrandingThemeRequestContent {
Borders = new BrandingThemeBorders {
ButtonBorderRadius = 1.1,
ButtonBorderWeight = 1.1,
ButtonsStyle = BrandingThemeBordersButtonsStyleEnum.Pill,
InputBorderRadius = 1.1,
InputBorderWeight = 1.1,
InputsStyle = BrandingThemeBordersInputsStyleEnum.Pill,
ShowWidgetShadow = true,
WidgetBorderWeight = 1.1,
WidgetCornerRadius = 1.1
},
Colors = new BrandingThemeColors {
BodyText = "body_text",
Error = "error",
Header = "header",
Icons = "icons",
InputBackground = "input_background",
InputBorder = "input_border",
InputFilledText = "input_filled_text",
InputLabelsPlaceholders = "input_labels_placeholders",
LinksFocusedComponents = "links_focused_components",
PrimaryButton = "primary_button",
PrimaryButtonLabel = "primary_button_label",
SecondaryButtonBorder = "secondary_button_border",
SecondaryButtonLabel = "secondary_button_label",
Success = "success",
WidgetBackground = "widget_background",
WidgetBorder = "widget_border"
},
Fonts = new BrandingThemeFonts {
BodyText = new BrandingThemeFontBodyText {
Bold = true,
Size = 1.1
},
ButtonsText = new BrandingThemeFontButtonsText {
Bold = true,
Size = 1.1
},
FontUrl = "font_url",
InputLabels = new BrandingThemeFontInputLabels {
Bold = true,
Size = 1.1
},
Links = new BrandingThemeFontLinks {
Bold = true,
Size = 1.1
},
LinksStyle = BrandingThemeFontLinksStyleEnum.Normal,
ReferenceTextSize = 1.1,
Subtitle = new BrandingThemeFontSubtitle {
Bold = true,
Size = 1.1
},
Title = new BrandingThemeFontTitle {
Bold = true,
Size = 1.1
}
},
PageBackground = new BrandingThemePageBackground {
BackgroundColor = "background_color",
BackgroundImageUrl = "background_image_url",
PageLayout = BrandingThemePageBackgroundPageLayoutEnum.Center
},
Widget = new BrandingThemeWidget {
HeaderTextAlignment = BrandingThemeWidgetHeaderTextAlignmentEnum.Center,
LogoHeight = 1.1,
LogoPosition = BrandingThemeWidgetLogoPositionEnum.Center,
LogoUrl = "logo_url",
SocialButtonsLayout = BrandingThemeWidgetSocialButtonsLayoutEnum.Bottom
}
}
);
}
}
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
branding "github.com/auth0/go-auth0/management/management/branding"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &branding.CreateBrandingThemeRequestContent{
Borders: &management.BrandingThemeBorders{
ButtonBorderRadius: 1.1,
ButtonBorderWeight: 1.1,
ButtonsStyle: management.BrandingThemeBordersButtonsStyleEnumPill,
InputBorderRadius: 1.1,
InputBorderWeight: 1.1,
InputsStyle: management.BrandingThemeBordersInputsStyleEnumPill,
ShowWidgetShadow: true,
WidgetBorderWeight: 1.1,
WidgetCornerRadius: 1.1,
},
Colors: &management.BrandingThemeColors{
BodyText: "body_text",
Error: "error",
Header: "header",
Icons: "icons",
InputBackground: "input_background",
InputBorder: "input_border",
InputFilledText: "input_filled_text",
InputLabelsPlaceholders: "input_labels_placeholders",
LinksFocusedComponents: "links_focused_components",
PrimaryButton: "primary_button",
PrimaryButtonLabel: "primary_button_label",
SecondaryButtonBorder: "secondary_button_border",
SecondaryButtonLabel: "secondary_button_label",
Success: "success",
WidgetBackground: "widget_background",
WidgetBorder: "widget_border",
},
Fonts: &management.BrandingThemeFonts{
BodyText: &management.BrandingThemeFontBodyText{
Bold: true,
Size: 1.1,
},
ButtonsText: &management.BrandingThemeFontButtonsText{
Bold: true,
Size: 1.1,
},
FontUrl: "font_url",
InputLabels: &management.BrandingThemeFontInputLabels{
Bold: true,
Size: 1.1,
},
Links: &management.BrandingThemeFontLinks{
Bold: true,
Size: 1.1,
},
LinksStyle: management.BrandingThemeFontLinksStyleEnumNormal,
ReferenceTextSize: 1.1,
Subtitle: &management.BrandingThemeFontSubtitle{
Bold: true,
Size: 1.1,
},
Title: &management.BrandingThemeFontTitle{
Bold: true,
Size: 1.1,
},
},
PageBackground: &management.BrandingThemePageBackground{
BackgroundColor: "background_color",
BackgroundImageUrl: "background_image_url",
PageLayout: management.BrandingThemePageBackgroundPageLayoutEnumCenter,
},
Widget: &management.BrandingThemeWidget{
HeaderTextAlignment: management.BrandingThemeWidgetHeaderTextAlignmentEnumCenter,
LogoHeight: 1.1,
LogoPosition: management.BrandingThemeWidgetLogoPositionEnumCenter,
LogoUrl: "logo_url",
SocialButtonsLayout: management.BrandingThemeWidgetSocialButtonsLayoutEnumBottom,
},
}
client.Branding.Themes.Create(
context.TODO(),
request,
)
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.branding.themes.requests.CreateBrandingThemeRequestContent;
import com.auth0.client.mgmt.types.BrandingThemeBorders;
import com.auth0.client.mgmt.types.BrandingThemeBordersButtonsStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeBordersInputsStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeColors;
import com.auth0.client.mgmt.types.BrandingThemeFontBodyText;
import com.auth0.client.mgmt.types.BrandingThemeFontButtonsText;
import com.auth0.client.mgmt.types.BrandingThemeFontInputLabels;
import com.auth0.client.mgmt.types.BrandingThemeFontLinks;
import com.auth0.client.mgmt.types.BrandingThemeFontLinksStyleEnum;
import com.auth0.client.mgmt.types.BrandingThemeFontSubtitle;
import com.auth0.client.mgmt.types.BrandingThemeFontTitle;
import com.auth0.client.mgmt.types.BrandingThemeFonts;
import com.auth0.client.mgmt.types.BrandingThemePageBackground;
import com.auth0.client.mgmt.types.BrandingThemePageBackgroundPageLayoutEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidget;
import com.auth0.client.mgmt.types.BrandingThemeWidgetHeaderTextAlignmentEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidgetLogoPositionEnum;
import com.auth0.client.mgmt.types.BrandingThemeWidgetSocialButtonsLayoutEnum;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.token("<token>")
.build();
client.branding().themes().create(
CreateBrandingThemeRequestContent
.builder()
.borders(
BrandingThemeBorders
.builder()
.buttonBorderRadius(1.1)
.buttonBorderWeight(1.1)
.buttonsStyle(BrandingThemeBordersButtonsStyleEnum.PILL)
.inputBorderRadius(1.1)
.inputBorderWeight(1.1)
.inputsStyle(BrandingThemeBordersInputsStyleEnum.PILL)
.showWidgetShadow(true)
.widgetBorderWeight(1.1)
.widgetCornerRadius(1.1)
.build()
)
.colors(
BrandingThemeColors
.builder()
.bodyText("body_text")
.error("error")
.header("header")
.icons("icons")
.inputBackground("input_background")
.inputBorder("input_border")
.inputFilledText("input_filled_text")
.inputLabelsPlaceholders("input_labels_placeholders")
.linksFocusedComponents("links_focused_components")
.primaryButton("primary_button")
.primaryButtonLabel("primary_button_label")
.secondaryButtonBorder("secondary_button_border")
.secondaryButtonLabel("secondary_button_label")
.success("success")
.widgetBackground("widget_background")
.widgetBorder("widget_border")
.build()
)
.fonts(
BrandingThemeFonts
.builder()
.bodyText(
BrandingThemeFontBodyText
.builder()
.bold(true)
.size(1.1)
.build()
)
.buttonsText(
BrandingThemeFontButtonsText
.builder()
.bold(true)
.size(1.1)
.build()
)
.fontUrl("font_url")
.inputLabels(
BrandingThemeFontInputLabels
.builder()
.bold(true)
.size(1.1)
.build()
)
.links(
BrandingThemeFontLinks
.builder()
.bold(true)
.size(1.1)
.build()
)
.linksStyle(BrandingThemeFontLinksStyleEnum.NORMAL)
.referenceTextSize(1.1)
.subtitle(
BrandingThemeFontSubtitle
.builder()
.bold(true)
.size(1.1)
.build()
)
.title(
BrandingThemeFontTitle
.builder()
.bold(true)
.size(1.1)
.build()
)
.build()
)
.pageBackground(
BrandingThemePageBackground
.builder()
.backgroundColor("background_color")
.backgroundImageUrl("background_image_url")
.pageLayout(BrandingThemePageBackgroundPageLayoutEnum.CENTER)
.build()
)
.widget(
BrandingThemeWidget
.builder()
.headerTextAlignment(BrandingThemeWidgetHeaderTextAlignmentEnum.CENTER)
.logoHeight(1.1)
.logoPosition(BrandingThemeWidgetLogoPositionEnum.CENTER)
.logoUrl("logo_url")
.socialButtonsLayout(BrandingThemeWidgetSocialButtonsLayoutEnum.BOTTOM)
.build()
)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\Branding\Themes\Requests\CreateBrandingThemeRequestContent;
use Auth0\SDK\API\Management\Types\BrandingThemeBorders;
use Auth0\SDK\API\Management\Types\BrandingThemeBordersButtonsStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeBordersInputsStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeColors;
use Auth0\SDK\API\Management\Types\BrandingThemeFonts;
use Auth0\SDK\API\Management\Types\BrandingThemeFontBodyText;
use Auth0\SDK\API\Management\Types\BrandingThemeFontButtonsText;
use Auth0\SDK\API\Management\Types\BrandingThemeFontInputLabels;
use Auth0\SDK\API\Management\Types\BrandingThemeFontLinks;
use Auth0\SDK\API\Management\Types\BrandingThemeFontLinksStyleEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeFontSubtitle;
use Auth0\SDK\API\Management\Types\BrandingThemeFontTitle;
use Auth0\SDK\API\Management\Types\BrandingThemePageBackground;
use Auth0\SDK\API\Management\Types\BrandingThemePageBackgroundPageLayoutEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidget;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetHeaderTextAlignmentEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetLogoPositionEnum;
use Auth0\SDK\API\Management\Types\BrandingThemeWidgetSocialButtonsLayoutEnum;
$client = new Management(
token: '<token>',
);
$client->branding->themes->create(
new CreateBrandingThemeRequestContent([
'borders' => new BrandingThemeBorders([
'buttonBorderRadius' => 1.1,
'buttonBorderWeight' => 1.1,
'buttonsStyle' => BrandingThemeBordersButtonsStyleEnum::Pill->value,
'inputBorderRadius' => 1.1,
'inputBorderWeight' => 1.1,
'inputsStyle' => BrandingThemeBordersInputsStyleEnum::Pill->value,
'showWidgetShadow' => true,
'widgetBorderWeight' => 1.1,
'widgetCornerRadius' => 1.1,
]),
'colors' => new BrandingThemeColors([
'bodyText' => 'body_text',
'error' => 'error',
'header' => 'header',
'icons' => 'icons',
'inputBackground' => 'input_background',
'inputBorder' => 'input_border',
'inputFilledText' => 'input_filled_text',
'inputLabelsPlaceholders' => 'input_labels_placeholders',
'linksFocusedComponents' => 'links_focused_components',
'primaryButton' => 'primary_button',
'primaryButtonLabel' => 'primary_button_label',
'secondaryButtonBorder' => 'secondary_button_border',
'secondaryButtonLabel' => 'secondary_button_label',
'success' => 'success',
'widgetBackground' => 'widget_background',
'widgetBorder' => 'widget_border',
]),
'fonts' => new BrandingThemeFonts([
'bodyText' => new BrandingThemeFontBodyText([
'bold' => true,
'size' => 1.1,
]),
'buttonsText' => new BrandingThemeFontButtonsText([
'bold' => true,
'size' => 1.1,
]),
'fontUrl' => 'font_url',
'inputLabels' => new BrandingThemeFontInputLabels([
'bold' => true,
'size' => 1.1,
]),
'links' => new BrandingThemeFontLinks([
'bold' => true,
'size' => 1.1,
]),
'linksStyle' => BrandingThemeFontLinksStyleEnum::Normal->value,
'referenceTextSize' => 1.1,
'subtitle' => new BrandingThemeFontSubtitle([
'bold' => true,
'size' => 1.1,
]),
'title' => new BrandingThemeFontTitle([
'bold' => true,
'size' => 1.1,
]),
]),
'pageBackground' => new BrandingThemePageBackground([
'backgroundColor' => 'background_color',
'backgroundImageUrl' => 'background_image_url',
'pageLayout' => BrandingThemePageBackgroundPageLayoutEnum::Center->value,
]),
'widget' => new BrandingThemeWidget([
'headerTextAlignment' => BrandingThemeWidgetHeaderTextAlignmentEnum::Center->value,
'logoHeight' => 1.1,
'logoPosition' => BrandingThemeWidgetLogoPositionEnum::Center->value,
'logoUrl' => 'logo_url',
'socialButtonsLayout' => BrandingThemeWidgetSocialButtonsLayoutEnum::Bottom->value,
]),
]),
);
from auth0.management import ManagementClient, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget
client = ManagementClient(
token="<token>",
)
client.branding.themes.create(
borders=BrandingThemeBorders(
button_border_radius=1.1,
button_border_weight=1.1,
buttons_style="pill",
input_border_radius=1.1,
input_border_weight=1.1,
inputs_style="pill",
show_widget_shadow=True,
widget_border_weight=1.1,
widget_corner_radius=1.1,
),
colors=BrandingThemeColors(
body_text="body_text",
error="error",
header="header",
icons="icons",
input_background="input_background",
input_border="input_border",
input_filled_text="input_filled_text",
input_labels_placeholders="input_labels_placeholders",
links_focused_components="links_focused_components",
primary_button="primary_button",
primary_button_label="primary_button_label",
secondary_button_border="secondary_button_border",
secondary_button_label="secondary_button_label",
success="success",
widget_background="widget_background",
widget_border="widget_border",
),
fonts=BrandingThemeFonts(
body_text=BrandingThemeFontBodyText(
bold=True,
size=1.1,
),
buttons_text=BrandingThemeFontButtonsText(
bold=True,
size=1.1,
),
font_url="font_url",
input_labels=BrandingThemeFontInputLabels(
bold=True,
size=1.1,
),
links=BrandingThemeFontLinks(
bold=True,
size=1.1,
),
links_style="normal",
reference_text_size=1.1,
subtitle=BrandingThemeFontSubtitle(
bold=True,
size=1.1,
),
title=BrandingThemeFontTitle(
bold=True,
size=1.1,
),
),
page_background=BrandingThemePageBackground(
background_color="background_color",
background_image_url="background_image_url",
page_layout="center",
),
widget=BrandingThemeWidget(
header_text_alignment="center",
logo_height=1.1,
logo_position="center",
logo_url="logo_url",
social_buttons_layout="bottom",
),
)
require "auth0"
client = Auth0::Management.new(token: "<token>")
client.branding.themes.create(
borders: {
button_border_radius: 1.1,
button_border_weight: 1.1,
buttons_style: "pill",
input_border_radius: 1.1,
input_border_weight: 1.1,
inputs_style: "pill",
show_widget_shadow: true,
widget_border_weight: 1.1,
widget_corner_radius: 1.1
},
colors: {
body_text: "body_text",
error: "error",
header: "header",
icons: "icons",
input_background: "input_background",
input_border: "input_border",
input_filled_text: "input_filled_text",
input_labels_placeholders: "input_labels_placeholders",
links_focused_components: "links_focused_components",
primary_button: "primary_button",
primary_button_label: "primary_button_label",
secondary_button_border: "secondary_button_border",
secondary_button_label: "secondary_button_label",
success: "success",
widget_background: "widget_background",
widget_border: "widget_border"
},
fonts: {
body_text: {
bold: true,
size: 1.1
},
buttons_text: {
bold: true,
size: 1.1
},
font_url: "font_url",
input_labels: {
bold: true,
size: 1.1
},
links: {
bold: true,
size: 1.1
},
links_style: "normal",
reference_text_size: 1.1,
subtitle: {
bold: true,
size: 1.1
},
title: {
bold: true,
size: 1.1
}
},
page_background: {
background_color: "background_color",
background_image_url: "background_image_url",
page_layout: "center"
},
widget: {
header_text_alignment: "center",
logo_height: 1.1,
logo_position: "center",
logo_url: "logo_url",
social_buttons_layout: "bottom"
}
)
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.branding.themes.create({
borders: {
buttonBorderRadius: 1.1,
buttonBorderWeight: 1.1,
buttonsStyle: "pill",
inputBorderRadius: 1.1,
inputBorderWeight: 1.1,
inputsStyle: "pill",
showWidgetShadow: true,
widgetBorderWeight: 1.1,
widgetCornerRadius: 1.1,
},
colors: {
bodyText: "body_text",
error: "error",
header: "header",
icons: "icons",
inputBackground: "input_background",
inputBorder: "input_border",
inputFilledText: "input_filled_text",
inputLabelsPlaceholders: "input_labels_placeholders",
linksFocusedComponents: "links_focused_components",
primaryButton: "primary_button",
primaryButtonLabel: "primary_button_label",
secondaryButtonBorder: "secondary_button_border",
secondaryButtonLabel: "secondary_button_label",
success: "success",
widgetBackground: "widget_background",
widgetBorder: "widget_border",
},
fonts: {
bodyText: {
bold: true,
size: 1.1,
},
buttonsText: {
bold: true,
size: 1.1,
},
fontUrl: "font_url",
inputLabels: {
bold: true,
size: 1.1,
},
links: {
bold: true,
size: 1.1,
},
linksStyle: "normal",
referenceTextSize: 1.1,
subtitle: {
bold: true,
size: 1.1,
},
title: {
bold: true,
size: 1.1,
},
},
pageBackground: {
backgroundColor: "background_color",
backgroundImageUrl: "background_image_url",
pageLayout: "center",
},
widget: {
headerTextAlignment: "center",
logoHeight: 1.1,
logoPosition: "center",
logoUrl: "logo_url",
socialButtonsLayout: "bottom",
},
});
}
main();
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.branding.themes.create({
borders: {
buttonBorderRadius: 1.1,
buttonBorderWeight: 1.1,
buttonsStyle: "pill",
inputBorderRadius: 1.1,
inputBorderWeight: 1.1,
inputsStyle: "pill",
showWidgetShadow: true,
widgetBorderWeight: 1.1,
widgetCornerRadius: 1.1,
},
colors: {
bodyText: "body_text",
error: "error",
header: "header",
icons: "icons",
inputBackground: "input_background",
inputBorder: "input_border",
inputFilledText: "input_filled_text",
inputLabelsPlaceholders: "input_labels_placeholders",
linksFocusedComponents: "links_focused_components",
primaryButton: "primary_button",
primaryButtonLabel: "primary_button_label",
secondaryButtonBorder: "secondary_button_border",
secondaryButtonLabel: "secondary_button_label",
success: "success",
widgetBackground: "widget_background",
widgetBorder: "widget_border",
},
fonts: {
bodyText: {
bold: true,
size: 1.1,
},
buttonsText: {
bold: true,
size: 1.1,
},
fontUrl: "font_url",
inputLabels: {
bold: true,
size: 1.1,
},
links: {
bold: true,
size: 1.1,
},
linksStyle: "normal",
referenceTextSize: 1.1,
subtitle: {
bold: true,
size: 1.1,
},
title: {
bold: true,
size: 1.1,
},
},
pageBackground: {
backgroundColor: "background_color",
backgroundImageUrl: "background_image_url",
pageLayout: "center",
},
widget: {
headerTextAlignment: "center",
logoHeight: 1.1,
logoPosition: "center",
logoUrl: "logo_url",
socialButtonsLayout: "bottom",
},
});
}
main();
curl --request POST \
--url https://{tenantDomain}/api/v2/branding/themes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"borders": {
"button_border_radius": 5.5,
"button_border_weight": 5,
"input_border_radius": 5,
"input_border_weight": 1.5,
"show_widget_shadow": true,
"widget_border_weight": 5,
"widget_corner_radius": 25
},
"colors": {
"body_text": "<string>",
"error": "<string>",
"header": "<string>",
"icons": "<string>",
"input_background": "<string>",
"input_border": "<string>",
"input_filled_text": "<string>",
"input_labels_placeholders": "<string>",
"links_focused_components": "<string>",
"primary_button": "<string>",
"primary_button_label": "<string>",
"secondary_button_border": "<string>",
"secondary_button_label": "<string>",
"success": "<string>",
"widget_background": "<string>",
"widget_border": "<string>",
"base_focus_color": "<string>",
"base_hover_color": "<string>",
"read_only_background": "<string>"
},
"fonts": {
"body_text": {
"bold": true,
"size": 75
},
"buttons_text": {
"bold": true,
"size": 75
},
"font_url": "<string>",
"input_labels": {
"bold": true,
"size": 75
},
"links": {
"bold": true,
"size": 75
},
"reference_text_size": 18,
"subtitle": {
"bold": true,
"size": 75
},
"title": {
"bold": true,
"size": 112.5
}
},
"page_background": {
"background_color": "<string>",
"background_image_url": "<string>"
},
"widget": {
"logo_height": 50.5,
"logo_url": "<string>"
},
"displayName": "<string>"
}
'{
"borders": {
"button_border_radius": 5.5,
"button_border_weight": 5,
"input_border_radius": 5,
"input_border_weight": 1.5,
"show_widget_shadow": true,
"widget_border_weight": 5,
"widget_corner_radius": 25
},
"colors": {
"body_text": "<string>",
"error": "<string>",
"header": "<string>",
"icons": "<string>",
"input_background": "<string>",
"input_border": "<string>",
"input_filled_text": "<string>",
"input_labels_placeholders": "<string>",
"links_focused_components": "<string>",
"primary_button": "<string>",
"primary_button_label": "<string>",
"secondary_button_border": "<string>",
"secondary_button_label": "<string>",
"success": "<string>",
"widget_background": "<string>",
"widget_border": "<string>",
"base_focus_color": "<string>",
"base_hover_color": "<string>",
"read_only_background": "<string>"
},
"displayName": "<string>",
"fonts": {
"body_text": {
"bold": true,
"size": 75
},
"buttons_text": {
"bold": true,
"size": 75
},
"font_url": "<string>",
"input_labels": {
"bold": true,
"size": 75
},
"links": {
"bold": true,
"size": 75
},
"reference_text_size": 18,
"subtitle": {
"bold": true,
"size": 75
},
"title": {
"bold": true,
"size": 112.5
}
},
"page_background": {
"background_color": "<string>",
"background_image_url": "<string>"
},
"themeId": "<string>",
"widget": {
"logo_height": 50.5,
"logo_url": "<string>"
}
}Authorizations
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/jsonapplication/x-www-form-urlencoded
Branding theme
Response
Branding settings successfully updated.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Display Name
Maximum string length:
2048Pattern:
^[^<>]*$Show child attributes
Show child attributes
Show child attributes
Show child attributes
Theme Id
Maximum string length:
32Pattern:
^[a-zA-Z0-9]{32}$Show child attributes
Show child attributes
⌘I