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": [ "37d34f98-bf6e-4058-bf40-6bf2e1482313", "fd5307b4-977a-4f8c-a833-781b24f71e2a" ], "TimeLimits": [ { "DaylightSaving": 1, "EndDate": "2025-09-14T10:01:48.6715419+03:00", "LimitType": 2, "LNKey_ID": "e589ca83-def3-4bd6-b8e4-ded6adccfe6a", "LNKeyTimeLimit_ID": "633debca-fdbe-46ef-aefc-c70c205563a9", "OrderNo": 5, "RenewEndDate": "2025-09-14T10:01:48.6715419+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-09-14T10:01:48.6715419+03:00", "WeekDay": 10 }, { "DaylightSaving": 1, "EndDate": "2025-09-14T10:01:48.6715419+03:00", "LimitType": 2, "LNKey_ID": "e589ca83-def3-4bd6-b8e4-ded6adccfe6a", "LNKeyTimeLimit_ID": "633debca-fdbe-46ef-aefc-c70c205563a9", "OrderNo": 5, "RenewEndDate": "2025-09-14T10:01:48.6715419+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-09-14T10:01:48.6715419+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>37d34f98-bf6e-4058-bf40-6bf2e1482313</d2p1:guid> <d2p1:guid>fd5307b4-977a-4f8c-a833-781b24f71e2a</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-14T10:01:48.6715419+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>633debca-fdbe-46ef-aefc-c70c205563a9</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>e589ca83-def3-4bd6-b8e4-ded6adccfe6a</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-09-14T10:01:48.6715419+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-09-14T10:01:48.6715419+03:00</d2p1:StartDate> <d2p1:WeekDay>10</d2p1:WeekDay> </d2p1:KeyTimeLimit> <d2p1:KeyTimeLimit> <d2p1:DaylightSaving>1</d2p1:DaylightSaving> <d2p1:EndDate>2025-09-14T10:01:48.6715419+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>633debca-fdbe-46ef-aefc-c70c205563a9</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>e589ca83-def3-4bd6-b8e4-ded6adccfe6a</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-09-14T10:01:48.6715419+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-09-14T10:01:48.6715419+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.