curl --location --request PUT '/users/getUser/0' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "updated_user@datasciencedojo.com",
"first_name": "UpdatedFirstName",
"last_name": "UpdatedLastName",
"is_active": true,
"is_staff": true,
"is_superuser": false,
"organization": {
"id": 2,
"org_name": "Updated Organization",
"domain": "updateddomain.com"
}
}'
{
"user_id": 131,
"email": "updated_user@datasciencedojo.com",
"first_name": "UpdatedFirstName",
"last_name": "UpdatedLastName",
"is_active": true,
"organization": {
"id": 2,
"org_name": "Updated Organization"
}
}