Go
Universal Login を更新
Universal Login のブランディングテンプレートを更新します。
content-type ヘッダーが application/json に設定されている場合:
{
"template": "<!DOCTYPE html>{% assign resolved_dir = dir | default: \"auto\" %}<html lang=\"{{locale}}\" dir=\"{{resolved_dir}}\"><head>{%- auth0:head -%}</head><body class=\"_widget-auto-layout\">{%- auth0:widget -%}</body></html>"
}
content-type ヘッダーが text/html に設定されている場合:
<!DOCTYPE html>
{% assign resolved_dir = dir | default: "auto" %}
<html lang="{{locale}}" dir="{{resolved_dir}}">
<head>
{%- auth0:head -%}
</head>
<body class="_widget-auto-layout">
{%- auth0:widget -%}
</body>
</html>
PUT
Go
承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ボディ
Maximum string length:
102400レスポンス
テンプレートは正常に作成されました。