Set UI configuration
POST<your-unleash-url>/api/admin/ui-config
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated. Use ./cors
instead. Sets the UI configuration for this Unleash instance.
Request
- application/json
Bodyrequired
setUiConfigSchema
frontendSettings object
Responses
- 200
This response has no body.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/ui-config' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"frontendSettings": {
"frontendApiOrigins": [
"*"
]
}
}'
ResponseClear