Update report custom CSS
PUT /v1/report-style/css — Validate and replace the custom REPORT.css applied after the selected preset and report design tokens. An empty string c
PUT /v1/report-style/css
Validate and replace the custom REPORT.css applied after the selected preset and report design tokens. An empty string clears the override. Custom CSS is limited to 64 KB and rejects network imports, external URLs, HTML delimiters, script-bearing legacy properties, and other unsafe constructs.
| Method | PUT |
| Path | /v1/report-style/css |
| Auth | Authorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | theme |
Request body
{ "css": ".report-shell { letter-spacing: 0; }" }Response body
{ "settings": { "preset": "minara-fusion", "density": "balanced", "typeScale": "standard", "pageWidth": "standard", "cornerStyle": "soft", "accent": "graphite" }, "defaults": { "preset": "minara-fusion", "density": "balanced", "typeScale": "standard", "pageWidth": "standard", "cornerStyle": "soft", "accent": "graphite" }, "presets": [{ "id": "minara-fusion", "name": "Minara Fusion", "description": "..." }], "custom_css": ".report-shell { letter-spacing: 0; }" }