curl --request PATCH \
--url http://localhost:8080/users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}
'{
"phone_country_code": "<string>",
"phone_number": "<string>",
"status": "onboarding",
"user_id": "<string>",
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}curl --request PATCH \
--url http://localhost:8080/users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}
'{
"phone_country_code": "<string>",
"phone_number": "<string>",
"status": "onboarding",
"user_id": "<string>",
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}JWT access token. Obtain from /auth/otp/verify endpoint.
User ID
User updated
User lifecycle status.
onboarding, active, deactivated Structured address details for user profiles and insurance documents.
Show child attributes
Date of birth as "YYYY-MM-DD".
"2000-01-15"
User gender.
male, female, other