cURL
curl --request PUT \ --url https://api.example.com/v1/profile/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "language": "en", "timezone": "<string>", "notifications_enabled": true, "two_factor_enabled": true } '
{ "language": "en", "timezone": "Europe/Zurich", "notifications_enabled": true, "two_factor_enabled": true }
Update user profile settings
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
en
de
fr
it
Profile settings updated successfully
Preferred language
User timezone
"Europe/Zurich"
Whether notifications are enabled
Whether 2FA is enabled