{
"first_name": "deep edit",
"last_name": "lastname ",
"birth_date": "2000-01-01",
"gender": "male"
}curl --location --request POST 'https://afyahealth.doctodoor.com:5600/api/service/v1/user/profile' \
--header 'Accept: application/json' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImVtYWlsIjoiZGVlcC5tYXJzb25pYUBwbGVuYXJ0ZWNoLmNvbSIsInN1YiI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImlhdCI6MTc0OTY0MjAwNiwiZXhwIjoxNzU3NDE4MDA2fQ.g8snnbceKqWwfhQ7lKdzebnlVq_bcYyRlDKR3GGWk8s' \
--header 'practice-code: DEFAULT' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "deep edit",
"last_name": "lastname ",
"birth_date": "2000-01-01",
"gender": "male"
}'{
"error": false,
"status_code": 200,
"message": "Profile updated successfully",
"data": {
"roles": [
{
"practice": "677bb5bd4291b96cd0623e93",
"deleted_at": null,
"is_deleted": 0,
"name": "Master Admin",
"slug": "master_admin",
"created_at": "2025-01-06T10:51:41.298Z",
"updated_at": "2025-01-06T10:51:41.298Z",
"id": "677bb5bd4291b96cd0623e9e"
}
],
"is_master_admin": 1,
"is_deleted": 0,
"is_active": 1,
"deleted_at": null,
"language_code": "en",
"first_name": "deep edit",
"middle_name": "",
"last_name": "lastname ",
"full_name": "deep edit lastname ",
"email": "deep.marsonia@plenartech.com",
"created_at": "2025-01-06T10:51:41.439Z",
"updated_at": "2025-01-23T09:58:34.818Z",
"family_members": [],
"birth_date": "2000-01-01T00:00:00.000Z",
"id": "677bb5bd4291b96cd0623eea"
}
}