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": "675ae6c3-a7a6-4ca4-8506-6fb48f53ef8d",
"LicenseName": "sample string 2",
"StartDate": "2026-03-02T03:58:57.9358449+00:00",
"EndDate": "2026-03-02T03:58:57.9358449+00:00",
"UserGroupId": "54391c49-4a2d-403e-bd08-4d5b53bf6c2d",
"OwnerId": "fe878f55-dfe3-4cdf-bf62-cebc7f8b0909",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "30f2fc81-b178-41f4-a4db-4b678f2037c5",
"AllowableUserRoles": [
"c0a2e92f-32e6-4002-9dde-a432285f15a8",
"f51ecec4-4075-407a-b24a-8331717e21d7"
],
"IsPaused": true,
"SeatUserGroupIds": [
"e0fc1c9f-3792-47ff-8fa3-3a40f337ba53",
"e898b07f-4615-4949-a223-61beb03c155f"
],
"PrivilegedUserRoles": [
"b3bd099e-4b89-41f6-b17a-39315c8ed81e",
"23966124-fa8d-4bb4-b972-eff1350ba773"
]
}
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>c0a2e92f-32e6-4002-9dde-a432285f15a8</d2p1:guid>
<d2p1:guid>f51ecec4-4075-407a-b24a-8331717e21d7</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-02T03:58:57.9358449+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>30f2fc81-b178-41f4-a4db-4b678f2037c5</LicenseCategoryId>
<LicenseId>675ae6c3-a7a6-4ca4-8506-6fb48f53ef8d</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>fe878f55-dfe3-4cdf-bf62-cebc7f8b0909</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b3bd099e-4b89-41f6-b17a-39315c8ed81e</d2p1:guid>
<d2p1:guid>23966124-fa8d-4bb4-b972-eff1350ba773</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e0fc1c9f-3792-47ff-8fa3-3a40f337ba53</d2p1:guid>
<d2p1:guid>e898b07f-4615-4949-a223-61beb03c155f</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-03-02T03:58:57.9358449+00:00</StartDate>
<UserGroupId>54391c49-4a2d-403e-bd08-4d5b53bf6c2d</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>