Skip to main content
PUT
/
v1
/
ui
/
preferences
/
modes
Update current user theme mode
curl --request PUT \
  --url https://api.example.com/v1/ui/preferences/modes \
  --header 'Content-Type: application/json' \
  --data '
{
  "mode": "light"
}
'

Body

application/json
mode
enum<string>
required
Available options:
light,
dark

Response

200

Theme mode updated successfully