I am testing using postman to update the license level in Azure DevOps using REST API. I am using the below POST URL:
https://vsaex.dev.azure.com/sandbox-org/_apis/userentitlements/88d3bc6c-0eb1-481b-bea0-8fbf3a5e054c?api-version=5.0-preview.2
The following is passed as body:
[
{
"from": "",
"op": "replace",
"path": "/accessLevel",
"value": {
"accountLicenseType": "basic",
"licensingSource": "account"
}
}
]
I am getting the below 400 bad request message. Any ideas to fix the issue.
{
"$id": "1",
"innerException": null,
"message": "Value cannot be null.\r\nParameter name: userEntitlement",
"typeName": "System.ArgumentNullException, mscorlib",
"typeKey": "ArgumentNullException",
"errorCode": 0,
"eventId": 0
}