PATCH
/
users
/
@me
/
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"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

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

Response

200 - application/json
theme
enum<string>
required
Available options:
light,
dark