v1

latestOpenAPI 3.0.2Mozilla Public License 2.02026-07-17307105155.2 KB
system

Configure the CORS settings.

post/sys/config/cors

Request body

allowed_headersstring[]

A comma-separated string or array of strings indicating headers that are allowed on cross-origin requests.

allowed_originsstring[]

A comma-separated string or array of strings indicating origins that may make cross-origin requests.

enableboolean

Enables or disables CORS headers on requests.

Response

OK