{
"extendedProfile": {
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"gender": "string",
"address": {
"street": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"bio": "string",
"website": "string",
"company": "string",
"jobTitle": "string"
},
"updateMask": "string"
}
curl --location --request PATCH '/v1/user//profile' \
--header 'Content-Type: application/json' \
--data-raw '{
"extendedProfile": {
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"gender": "string",
"address": {
"street": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"bio": "string",
"website": "string",
"company": "string",
"jobTitle": "string"
},
"updateMask": "string"
}'
{
"profile": {
"basicInfo": {
"userId": "string",
"email": "string",
"displayName": "string",
"identity": "IDENTITY_UNSPECIFIED",
"role": "USER_ROLE_UNSPECIFIED",
"permissions": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"status": "USER_STATUS_UNSPECIFIED",
"emailVerified": true,
"phone": "string",
"avatarUrl": "string",
"timezone": "string",
"language": "string"
},
"extendedProfile": {
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"gender": "string",
"address": {
"street": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"bio": "string",
"website": "string",
"company": "string",
"jobTitle": "string"
},
"preferences": {
"emailNotifications": true,
"smsNotifications": true,
"marketingEmails": true,
"theme": "string",
"currency": "string"
},
"securitySettings": {
"twoFactorEnabled": true,
"failedLoginAttempts": 0,
"lockedUntil": "2019-08-24T14:15:22Z",
"lastLogin": "2019-08-24T14:15:22Z",
"passwordChangedAt": "2019-08-24T14:15:22Z",
"sessionTimeout": 0
}
}
}