コンテンツにスキップ

Update UI configuration

PUT
/api/admin/settings/ui-config
Code sample: Shell / cURL
curl --request PUT \
--url https://auth.example.com/api/admin/settings/ui-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "baseUrl": "https://auth.example.com", "paths": { "login": "/login", "signup": "/signup", "account": "/account" } }'

Updates UI base URL and paths after validating HTTPS/same-origin or allowed-origin constraints and path shape.

Media type application/json
object
baseUrl
string | null format: uri
paths
object
key
additional properties
string
key
additional properties
Example
{
"baseUrl": "https://auth.example.com",
"paths": {
"login": "/login",
"signup": "/signup",
"account": "/account"
}
}

UI configuration updated.

Media type application/json
object
success
boolean
config
object
baseUrl
string | null format: uri
paths
object
key
additional properties
string
key
additional properties
key
additional properties
Example
{
"success": true,
"config": {
"baseUrl": "https://auth.example.com",
"paths": {
"login": "/login",
"signup": "/signup",
"account": "/account"
}
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}