Licenses
Grant User License
Grants a license to a user from a specified subscription. If the user already has a license on the given subscription, the existing license is returned.
post/v1/users/{id}/licenses
Path parameters
idinteger required
User ID
Request body
Example request
{
"subscriptionId": "8e8cf611-d74c-4a2f-8b61-754b22328fbb"
}Response
Created. Returns the granted license, or the existing license if the user already has one on this subscription.
Example response
{
"userId": 123,
"subscriptionId": "8e8cf611-d74c-4a2f-8b61-754b22328fbb",
"created": "2024-08-08T22:21:48.612Z"
}