Skip to main content

Set UI configuration

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/ui-config

Sets the UI configuration for this Unleash instance.

Request

Body

required

setUiConfigSchema

    frontendSettings

    object

    Settings related to the front-end API.

    frontendApiOrigins string[]required

    The list of origins that the front-end API should accept requests from.

    Example: ["*"]

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L 'https://us.app.unleash-hosted.com/ushosted/api/admin/ui-config' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"frontendSettings": {
"frontendApiOrigins": [
"*"
]
}
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Body required
{
  "frontendSettings": {
    "frontendApiOrigins": [
      "*"
    ]
  }
}
ResponseClear

Click the Send API Request button above and see the response here!