curl --location --request PUT 'https://api.hiveflow.ai/api/auth/profile' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Juan Carlos Pérez",
"email": "nuevo@ejemplo.com",
"currentPassword": "string",
"newPassword": "stringst",
"avatar": "string",
"preferences": {
"theme": "auto",
"language": "es",
"notifications": {
"email": true,
"push": true
}
}
}'
{
"success": true,
"message": "Perfil actualizado exitosamente",
"user": {
"_id": "string",
"email": "user@example.com",
"name": "string",
"status": "active",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}