PUT api/licenses/{id}
Update specific License
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
unique identifier of License |
globally unique identifier |
Required |
Body Parameters
License details to be updated
UpdateLicenseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LicenseId | globally unique identifier |
None. |
|
| LicenseName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| UserGroupId | globally unique identifier |
None. |
|
| OwnerId | globally unique identifier |
None. |
|
| AvailableSeats | integer |
None. |
|
| ContactPersonName | string |
None. |
|
| ContactPhone | string |
None. |
|
| ContactEmail | string |
None. |
|
| Buffer | integer |
None. |
|
| Grade | string |
None. |
|
| LicenseCategoryId | globally unique identifier |
None. |
|
| AllowableUserRoles | Collection of globally unique identifier |
None. |
|
| IsPaused | boolean |
None. |
|
| SeatUserGroupIds | Collection of globally unique identifier |
None. |
|
| PrivilegedUserRoles | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"LicenseId": "964c711a-18c6-4865-a60c-7a035a91207d",
"LicenseName": "sample string 2",
"StartDate": "2026-09-28T02:01:22.1353095+00:00",
"EndDate": "2026-09-28T02:01:22.1353095+00:00",
"UserGroupId": "8dcdc7e4-0716-4ec2-8e22-5cad398368a3",
"OwnerId": "c2eb9df6-8b9f-450c-a5d2-c64eb29297b8",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "490a6695-5ae7-4e6d-9b14-f9b49ea3a5db",
"AllowableUserRoles": [
"ccaa836f-691d-4d90-996d-147a6b28e73c",
"1c83c472-d460-4fde-b119-525173331f94"
],
"IsPaused": true,
"SeatUserGroupIds": [
"b85ebfe5-67c6-4d1c-be46-377f97699f72",
"d0302b4d-e52b-4bbd-b6c3-21e7520e4fec"
],
"PrivilegedUserRoles": [
"d0bbd66f-4b0f-4af1-92f6-b37f237ddc7e",
"58b41365-a60c-446d-bd12-e1e59117162d"
]
}
application/xml, text/xml
Sample:
<UpdateLicenseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests">
<AllowableUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ccaa836f-691d-4d90-996d-147a6b28e73c</d2p1:guid>
<d2p1:guid>1c83c472-d460-4fde-b119-525173331f94</d2p1:guid>
</AllowableUserRoles>
<AvailableSeats>5</AvailableSeats>
<Buffer>1</Buffer>
<ContactEmail>sample string 8</ContactEmail>
<ContactPersonName>sample string 6</ContactPersonName>
<ContactPhone>sample string 7</ContactPhone>
<EndDate>2026-09-28T02:01:22.1353095+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>490a6695-5ae7-4e6d-9b14-f9b49ea3a5db</LicenseCategoryId>
<LicenseId>964c711a-18c6-4865-a60c-7a035a91207d</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>c2eb9df6-8b9f-450c-a5d2-c64eb29297b8</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d0bbd66f-4b0f-4af1-92f6-b37f237ddc7e</d2p1:guid>
<d2p1:guid>58b41365-a60c-446d-bd12-e1e59117162d</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b85ebfe5-67c6-4d1c-be46-377f97699f72</d2p1:guid>
<d2p1:guid>d0302b4d-e52b-4bbd-b6c3-21e7520e4fec</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-09-28T02:01:22.1353095+00:00</StartDate>
<UserGroupId>8dcdc7e4-0716-4ec2-8e22-5cad398368a3</UserGroupId>
</UpdateLicenseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
},
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
}
],
"IsValid": false
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Errors>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
</Errors>
</ApiResponse>