Skip to content

update_theme

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/update_theme
HandlerOperatelyWeb.Api.Mutations.UpdateTheme

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
themeaccount_theme enum (dark, light, system)YesNo-

Outputs#

FieldTypeRequiredNullable
successbooleanYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/update_theme" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"theme":"dark"}'

Response Example#

{
  "success": true
}