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": "6b718e2a-771c-43cc-bab5-77c0e4eb09a5",
"LicenseName": "sample string 2",
"StartDate": "2026-06-27T09:23:47.1453615+00:00",
"EndDate": "2026-06-27T09:23:47.1453615+00:00",
"UserGroupId": "6e7b8c74-85ee-4c4c-a31c-d5a6b8eaef15",
"OwnerId": "478152c5-cad1-46d7-ac15-5252810df450",
"AvailableSeats": 5,
"ContactPersonName": "sample string 6",
"ContactPhone": "sample string 7",
"ContactEmail": "sample string 8",
"Buffer": 1,
"Grade": "sample string 9",
"LicenseCategoryId": "52679aa3-6dba-4360-a714-898eba06d534",
"AllowableUserRoles": [
"353ee27d-1c98-4894-b49f-0875214b8c37",
"4ed4513b-5ae1-4abc-a683-6182fcb797f6"
],
"IsPaused": true,
"SeatUserGroupIds": [
"2884bb20-fce0-43c7-88b6-d58faeab7a59",
"f6d05a28-dcce-418e-9deb-75628ce5b58b"
],
"PrivilegedUserRoles": [
"e46de2b8-d580-4554-95ac-528f918a60f4",
"63905de1-d839-4be5-9888-2ebbce1fc362"
]
}
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>353ee27d-1c98-4894-b49f-0875214b8c37</d2p1:guid>
<d2p1:guid>4ed4513b-5ae1-4abc-a683-6182fcb797f6</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-27T09:23:47.1453615+00:00</EndDate>
<Grade>sample string 9</Grade>
<IsPaused>true</IsPaused>
<LicenseCategoryId>52679aa3-6dba-4360-a714-898eba06d534</LicenseCategoryId>
<LicenseId>6b718e2a-771c-43cc-bab5-77c0e4eb09a5</LicenseId>
<LicenseName>sample string 2</LicenseName>
<OwnerId>478152c5-cad1-46d7-ac15-5252810df450</OwnerId>
<PrivilegedUserRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e46de2b8-d580-4554-95ac-528f918a60f4</d2p1:guid>
<d2p1:guid>63905de1-d839-4be5-9888-2ebbce1fc362</d2p1:guid>
</PrivilegedUserRoles>
<SeatUserGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2884bb20-fce0-43c7-88b6-d58faeab7a59</d2p1:guid>
<d2p1:guid>f6d05a28-dcce-418e-9deb-75628ce5b58b</d2p1:guid>
</SeatUserGroupIds>
<StartDate>2026-06-27T09:23:47.1453615+00:00</StartDate>
<UserGroupId>6e7b8c74-85ee-4c4c-a31c-d5a6b8eaef15</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>