Themes APIs
Last updated
Was this helpful?
Endpoints for creating, updating, importing, exporting, and deleting visual themes used in the Guardian policy editor UI.
Authentication: Bearer token required (Authorization: Bearer <token>)
GET
/api/v1/themes
Returns all themes for the current user
Yes
POST
/api/v1/themes
Creates a new theme
Yes
PUT
/api/v1/themes/{themeId}
Updates a theme configuration
Yes
DELETE
/api/v1/themes/{themeId}
Deletes a theme
Yes
GET
/api/v1/themes/{themeId}/export/file
Exports a theme as a ZIP file
Yes
POST
/api/v1/themes/import/file
Imports a theme from a ZIP file
Yes
Last updated
Was this helpful?
Was this helpful?