curl --request PATCH \
--url https://api.example.com/api/v1/me/theme \
--header 'Content-Type: application/json' \
--data '
{
"theme": "<string>"
}
'{
"theme": "dark"
}
Toggle the authenticated user’s light/dark theme preference.
curl --request PATCH \
--url https://api.example.com/api/v1/me/theme \
--header 'Content-Type: application/json' \
--data '
{
"theme": "<string>"
}
'{
"theme": "dark"
}
light, dark.curl -X PATCH \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"theme": "dark"}' \
https://app.taxhomebase.com/api/v1/me/theme
{
"theme": "dark"
}