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": "a689b955-2052-4975-a6cc-45d46ddb13b9",
"LicenseName": "sample string 2",
"StartDate": "2026-03-08T00:50:34.5556744+00:00",
"EndDate": "2026-03-08T00:50:34.5556744+00:00",
"UserGroupId": "e8543602-2ae6-4eb0-9c71-cb38a1e39ac6",
"OwnerId": "7f69d5e8-8089-47bc-bf72-2c31b88acb88",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "bddb245a-faa5-43bb-af5b-de26298148a5",
"AllowableUserRoles": [
"b6ddb78a-ff8c-4c01-ab3b-4e80bb9d5352",
"421909dd-d8ec-4e43-848f-519ce1511912"
],
"IsPaused": true,
"SeatUserGroupIds": [
"b2a35718-f267-4452-88f2-b7d66a54262b",
"125691b7-bc69-4306-9a31-16a4d5a1c509"
],
"PrivilegedUserRoles": [
"c6b7cb46-6562-4ef0-b11c-3703dfc464b2",
"de3076aa-5178-41aa-a841-69b7ec3b66f6"
]
}
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>b6ddb78a-ff8c-4c01-ab3b-4e80bb9d5352</d2p1:guid>
<d2p1:guid>421909dd-d8ec-4e43-848f-519ce1511912</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-03-08T00:50:34.5556744+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>bddb245a-faa5-43bb-af5b-de26298148a5</LicenseCategoryId>
<LicenseId>a689b955-2052-4975-a6cc-45d46ddb13b9</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>7f69d5e8-8089-47bc-bf72-2c31b88acb88</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c6b7cb46-6562-4ef0-b11c-3703dfc464b2</d2p1:guid>
<d2p1:guid>de3076aa-5178-41aa-a841-69b7ec3b66f6</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b2a35718-f267-4452-88f2-b7d66a54262b</d2p1:guid>
<d2p1:guid>125691b7-bc69-4306-9a31-16a4d5a1c509</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-03-08T00:50:34.5556744+00:00</StartDate>
<UserGroupId>e8543602-2ae6-4eb0-9c71-cb38a1e39ac6</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>