Skip to content
These docs describe Tradr v0.14.0. Running an older release? Check the release notes for what changed.

Re-issue the theme cookie.

POST
/api/dashboard/theme-cookie
curl --request POST \
--url https://api.tradr.cloud/api/dashboard/theme-cookie

Authed. Sets tradr_theme from the stored preference without changing it. Used to restore the cookie on a new device or after it is cleared, so the first paint matches the saved theme. The request body must be empty.

The cookie is set.

The request body was not empty.