Update Profile
Update the current user’s profile information.
PUT /api/user/profileRequest Body
{
"fullName": "John Doe",
"phone": "+1234567890",
"address": "123 Main St, City, Country"
}Only the authenticated user can update their own profile. The profile supports flexible schema with custom fields.
to remove a field, you can set the value to null.
Response
{
"data": [
{
"userId": "user-123",
"profile": {
"fullName": "John Doe",
"phone": "+1234567890",
"address": "123 Main St, City, Country"
}
}
],
"status": "OK",
"code": 200,
"timestamp": 1234567890,
"meta": {}
}