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": "344d674a-b14d-4323-ba94-693d3c486863",
"LicenseName": "sample string 2",
"StartDate": "2026-06-25T20:00:12.42682+00:00",
"EndDate": "2026-06-25T20:00:12.42682+00:00",
"UserGroupId": "79c6c87e-44ef-482c-be80-0d1a9b8b94a7",
"OwnerId": "fa86abbb-2a3e-4fe6-af78-a7eb42986fce",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "25f0af22-c3c8-422c-b1ff-43fd111850f4",
"AllowableUserRoles": [
"543183f3-610b-4791-b1d3-bd115cccd776",
"72372fd7-43d4-4746-88a4-f0e6a988f5c2"
],
"IsPaused": true,
"SeatUserGroupIds": [
"afdad7b3-72f5-4544-a87c-631fb168565a",
"981c1d62-9437-4bfb-a6db-5b99ad8613e2"
],
"PrivilegedUserRoles": [
"296c20ca-4220-4d50-ab7c-2b8d93e8ece2",
"89f9d46c-2b3e-40f9-9b52-5881ccb49703"
]
}
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>543183f3-610b-4791-b1d3-bd115cccd776</d2p1:guid>
<d2p1:guid>72372fd7-43d4-4746-88a4-f0e6a988f5c2</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-06-25T20:00:12.42682+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>25f0af22-c3c8-422c-b1ff-43fd111850f4</LicenseCategoryId>
<LicenseId>344d674a-b14d-4323-ba94-693d3c486863</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>fa86abbb-2a3e-4fe6-af78-a7eb42986fce</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>296c20ca-4220-4d50-ab7c-2b8d93e8ece2</d2p1:guid>
<d2p1:guid>89f9d46c-2b3e-40f9-9b52-5881ccb49703</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>afdad7b3-72f5-4544-a87c-631fb168565a</d2p1:guid>
<d2p1:guid>981c1d62-9437-4bfb-a6db-5b99ad8613e2</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-06-25T20:00:12.42682+00:00</StartDate>
<UserGroupId>79c6c87e-44ef-482c-be80-0d1a9b8b94a7</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>