curl --location -g --request PUT 'https:///api/v2/teams//users//role' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"role": "Owner",
"modified_by": "user@example.com"
}'
{
"success": true,
"message": "string",
"data": {
"id": 0,
"user": {
"id": 0,
"email": "user@example.com",
"is_staff": true,
"is_superuser": true,
"is_active": true,
"date_joined": "2019-08-24T14:15:22Z",
"first_name": "string",
"last_name": "string"
},
"role": "string"
}
}