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": "369fb270-3c14-46af-ab81-90c00d5c5e1b",
"LicenseName": "sample string 2",
"StartDate": "2026-01-01T01:37:14.7697911+00:00",
"EndDate": "2026-01-01T01:37:14.7697911+00:00",
"UserGroupId": "cf528f24-2364-49f2-9d8f-bdb183a1ada0",
"OwnerId": "277f3fd6-34cf-42ff-a500-ed9b88494978",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "4b7cd19d-7bb5-47b0-9b44-cbb197e08369",
"AllowableUserRoles": [
"966b5d09-3d41-4425-8d24-93bb48841a8d",
"0a5c7cd6-db89-4071-ac84-bccdf257883e"
],
"IsPaused": true,
"SeatUserGroupIds": [
"1044829d-4d50-4364-891d-894f9ff63870",
"f66677b6-ac88-4f31-8b30-65e14d315635"
],
"PrivilegedUserRoles": [
"b811d586-21cd-47ac-a8d8-474bda9003ee",
"3bb53a7e-670d-4224-b635-949e2b9226eb"
]
}
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>966b5d09-3d41-4425-8d24-93bb48841a8d</d2p1:guid>
<d2p1:guid>0a5c7cd6-db89-4071-ac84-bccdf257883e</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-01-01T01:37:14.7697911+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>4b7cd19d-7bb5-47b0-9b44-cbb197e08369</LicenseCategoryId>
<LicenseId>369fb270-3c14-46af-ab81-90c00d5c5e1b</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>277f3fd6-34cf-42ff-a500-ed9b88494978</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b811d586-21cd-47ac-a8d8-474bda9003ee</d2p1:guid>
<d2p1:guid>3bb53a7e-670d-4224-b635-949e2b9226eb</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1044829d-4d50-4364-891d-894f9ff63870</d2p1:guid>
<d2p1:guid>f66677b6-ac88-4f31-8b30-65e14d315635</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-01-01T01:37:14.7697911+00:00</StartDate>
<UserGroupId>cf528f24-2364-49f2-9d8f-bdb183a1ada0</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>