PUT api/v1/Keys/{id}/SecurityAccesses
Updates key's security accesses and time limits
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Key id |
globally unique identifier |
Required |
Body Parameters
UpdateKeySecurityAccessesParamName | Description | Type | Additional information |
---|---|---|---|
SecurityAccessIds |
Security accesses which are set to the key |
Collection of globally unique identifier |
None. |
TimeLimits |
Time limit information for the key |
Collection of KeyTimeLimit |
None. |
Request Formats
application/json, text/json
Sample:
{ "SecurityAccessIds": [ "e7d98990-42bc-4025-b360-9c1fb3b0cf01", "2b7c2f11-6d7e-4fc2-b576-040783f39205" ], "TimeLimits": [ { "DaylightSaving": 1, "EndDate": "2025-09-18T04:04:14.6936729+03:00", "LimitType": 2, "LNKey_ID": "53cf0fbd-ff8d-41f9-b734-b301d1d22adb", "LNKeyTimeLimit_ID": "26128d82-fbc7-4692-99dd-73000afcdfbb", "OrderNo": 5, "RenewEndDate": "2025-09-18T04:04:14.6936729+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-09-18T04:04:14.6936729+03:00", "WeekDay": 10 }, { "DaylightSaving": 1, "EndDate": "2025-09-18T04:04:14.6936729+03:00", "LimitType": 2, "LNKey_ID": "53cf0fbd-ff8d-41f9-b734-b301d1d22adb", "LNKeyTimeLimit_ID": "26128d82-fbc7-4692-99dd-73000afcdfbb", "OrderNo": 5, "RenewEndDate": "2025-09-18T04:04:14.6936729+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-09-18T04:04:14.6936729+03:00", "WeekDay": 10 } ] }
application/xml, text/xml
Sample:
<KeyParams.UpdateKeySecurityAccessesParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.ws.WebApi.Params"> <SecurityAccessIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>e7d98990-42bc-4025-b360-9c1fb3b0cf01</d2p1:guid> <d2p1:guid>2b7c2f11-6d7e-4fc2-b576-040783f39205</d2p1:guid> </SecurityAccessIds> <TimeLimits xmlns:d2p1="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus"> <d2p1:KeyTimeLimit> <d2p1:DaylightSaving>1</d2p1:DaylightSaving> <d2p1:EndDate>2025-09-18T04:04:14.6936729+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>26128d82-fbc7-4692-99dd-73000afcdfbb</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>53cf0fbd-ff8d-41f9-b734-b301d1d22adb</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-09-18T04:04:14.6936729+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-09-18T04:04:14.6936729+03:00</d2p1:StartDate> <d2p1:WeekDay>10</d2p1:WeekDay> </d2p1:KeyTimeLimit> <d2p1:KeyTimeLimit> <d2p1:DaylightSaving>1</d2p1:DaylightSaving> <d2p1:EndDate>2025-09-18T04:04:14.6936729+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>26128d82-fbc7-4692-99dd-73000afcdfbb</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>53cf0fbd-ff8d-41f9-b734-b301d1d22adb</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-09-18T04:04:14.6936729+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-09-18T04:04:14.6936729+03:00</d2p1:StartDate> <d2p1:WeekDay>10</d2p1:WeekDay> </d2p1:KeyTimeLimit> </TimeLimits> </KeyParams.UpdateKeySecurityAccessesParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.