Admin UI

Sets allowed CORS origins

Sets Cross-Origin Resource Sharing headers for Frontend SDK API.

post/api/admin/ui-config/cors

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/ui-config/cors
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body

frontendApiOriginsstring[]

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

Example request

{
  "frontendApiOrigins": [
    "*"
  ]
}

Response

This response has no body.

Changes

No recorded changes to this operation across all 7 revisions of this API.