curl --location --request PUT '/users/userorg/get/0' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"permission": "Global admin",
"modified_by": "admin@datasciencedojo.com"
}'
{
"id": 135,
"organization": {
"id": 1,
"org_name": "Data Science Dojo",
"domain": "datasciencedojo.com"
},
"permission": "Global admin",
"modified_by": "admin@datasciencedojo.com",
"modified_on": "2024-10-13T14:45:00Z"
}