curl --request PUT \
--url https://api.example.com/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"password": "newpassword123",
"firstName": "John",
"lastName": "Doe",
"image": "<string>",
"provider": "<string>",
"providerId": "<string>",
"isEmailVerified": true,
"roles": [
"user"
],
"settings": {
"theme": "<string>",
"notifications": {
"email": true,
"sms": true,
"slack": true,
"webhook": true
},
"preferredNotification": "<string>",
"emailConfig": {},
"smsConfig": {},
"slackConfig": {},
"webhookConfig": {}
}
}
'