curl --location -g --request PATCH '{{host_user}}/users/profile' \
--header 'x-client: {{client}}' \
--header 'x-access-token: {{admin-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "{{email}}",
"password": "{{password}}",
"passwordConfirmation": "{{password}}"
}'
{
"user": {
"_id": "6675220632bbe57d439cd2fa",
"firstName": "kareem",
"lastName": "kareem",
"deactivated": false,
"meta": [],
"gender": "male",
"picture": "",
"email": "kareem@larsa.org",
"createdAt": "2024-06-21T06:47:34.224Z",
"updatedAt": "",
"roles": [
"604678e4d8200460ad6b94f1",
"67236c02587ae726fe3fb48c"
],
"capabilities": [],
"emailConfirmation": false
}
}