Skip to main content
A theme controls how your public knowledge base looks. Built-in themes cannot be changed: clone one to get a theme you can edit. Changing a theme needs the Manage themes permission. For fields and response details, see the API reference.

List themes

This command lists built-in themes first and then custom themes.

Show a theme

This command shows one theme with its colors.
Required arguments:
  • <id> - Theme ID from themes list

Rename a theme

This command renames a custom theme. A built-in theme returns not found.
Required arguments:
  • <id> - Theme ID from themes list

Clone a theme

This command copies a built-in or custom theme into a new unpublished custom theme named <name> - Clone N.
Required arguments:
  • <id> - Theme ID from themes list

Publish a theme

This command makes a theme the one visitors see.
Required arguments:
  • <id> - Theme ID from themes list

Delete a theme

This command deletes a custom theme. The published theme cannot be deleted.
Required arguments:
  • <id> - Theme ID from themes list

Show theme configuration

This command shows the fonts, colors, images and custom CSS of a theme.
Required arguments:
  • <id> - Theme ID from themes list

Update theme configuration

This command changes the configuration of a custom theme. Only the flags you pass change.
Required arguments:
  • <id> - Theme ID from themes list
Colors are merged into the current ones, and an unknown color name is refused. --brand-image and --header-image take a local file path or the signed ID of an uploaded attachment. The CLI uploads a file for you. --custom-css '' clears the custom CSS. The font flags take a font ID from themes config show. Header text and search input text are workspace settings, so change them with neetokb workspace update.

Add a font

This command adds a Google font to a custom theme.
Required arguments:
  • <id> - Theme ID from themes list

Update a font

This command changes a font of a custom theme.
Required arguments:
  • <id> - Theme ID from themes list
  • <font-id> - Font ID from themes config show

Delete a font

This command removes a font from a custom theme. A title or body font setting that points to it is not cleared.
Required arguments:
  • <id> - Theme ID from themes list
  • <font-id> - Font ID from themes config show