Update User Licenses
PUT /office365/{organizationId}/users/{userId}/licenses
Updates user licenses and enables/disables service plans within a license.
curl --location --request PUT 'http://localhost:8798/office365/{OrganizationId}/users/{UserId}/licenses' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic aGNhZG1pbjpoY2FkbWlu' \
--data '{
"SelectedSubscriptions": [
{
"ServicePlans": [
{
"ServicePlanId": "{ServicePlanId}"
}
],
"O365SubscriptionId": {O365SubscriptionId},
"UpdateOnlyServicePlans": true
}
],
"UserLicenses": [
1
]
}'



