/api/embed-theme

POST /api/embed-theme/seed-defaults

Changed on

Seed default embedding themes on first call, using the payloads built by the frontend from the METABASE_LIGHT_THEME / METABASE_DARK_THEME constants.

Idempotent: guarded by the default-embedding-themes-seeded setting. Once flipped, subsequent calls are no-ops even if the admin has since deleted the seeded themes, so deletions are preserved.

post/api/embed-theme/seed-defaults

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

Response

Successful response

unknown required

Changes