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": "263fac96-6b29-49d1-8db5-ef0a6c3711b2",
"LicenseName": "sample string 2",
"StartDate": "2026-10-18T01:36:07.3485842+00:00",
"EndDate": "2026-10-18T01:36:07.3485842+00:00",
"UserGroupId": "2edf550b-09c4-4366-bcd9-00d065527287",
"OwnerId": "8c91027b-ad7c-4ff1-afb2-a000b125ba03",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "2c4d7ee0-910e-41b2-ae4e-26473026c9c1",
"AllowableUserRoles": [
"252edfa1-d064-42d4-87f8-0802041b2198",
"526f68cd-c972-4676-884b-7b62d9139263"
],
"IsPaused": true,
"SeatUserGroupIds": [
"6584eae8-52db-458b-9d3e-8d9e5c08995d",
"9665886a-d442-43b9-8eea-f3214108599b"
],
"PrivilegedUserRoles": [
"21af7852-7c55-4318-9a5a-9235efe16802",
"b96294ef-e828-4487-889b-6094d0959b47"
]
}
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>252edfa1-d064-42d4-87f8-0802041b2198</d2p1:guid>
<d2p1:guid>526f68cd-c972-4676-884b-7b62d9139263</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-10-18T01:36:07.3485842+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>2c4d7ee0-910e-41b2-ae4e-26473026c9c1</LicenseCategoryId>
<LicenseId>263fac96-6b29-49d1-8db5-ef0a6c3711b2</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>8c91027b-ad7c-4ff1-afb2-a000b125ba03</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>21af7852-7c55-4318-9a5a-9235efe16802</d2p1:guid>
<d2p1:guid>b96294ef-e828-4487-889b-6094d0959b47</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6584eae8-52db-458b-9d3e-8d9e5c08995d</d2p1:guid>
<d2p1:guid>9665886a-d442-43b9-8eea-f3214108599b</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-10-18T01:36:07.3485842+00:00</StartDate>
<UserGroupId>2edf550b-09c4-4366-bcd9-00d065527287</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>