get_theme, update_theme
Update website theme. Applied via data-theme attribute on <html>.
Actions
get
Get current theme configuration.
Parameters:
domain— Website subdomain, domain, or UUID
update
Update theme.
Parameters:
domain— Website subdomain, domain, or UUIDconfig— Theme configuration:{ name: "nord" }— Built-in theme{ css: "[data-theme=\"custom\"] { ... }" }— Custom CSS
Version Management
Use the unified version tools with target: "theme":
pin_version— Pin a specific versionrevert_version— Revert to a previous version
OAuth Scopes
| Action | Scope |
|---|---|
| get | theme:read |
| update | theme:edit |
| pin_version | theme:pin |
| revert_version | version:revert |