curl --request PATCH \
--url https://api.hyra.io/users/@me/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"theme": "light"
}'
{
"theme": "light"
}
Update the current user’s settings
curl --request PATCH \
--url https://api.hyra.io/users/@me/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"theme": "light"
}'
{
"theme": "light"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Updated user settings