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": [ "a406dbed-6ed7-4321-bd38-722b3f3c3734", "973f8194-26f3-4eb0-a3a0-1cb4e33fe1e3" ], "TimeLimits": [ { "DaylightSaving": 1, "EndDate": "2025-07-02T05:12:21.7015094+03:00", "LimitType": 2, "LNKey_ID": "fabf2fa1-cce6-4d40-b57c-acb90c59e324", "LNKeyTimeLimit_ID": "ca13045b-c8d7-4db9-8943-6878f8cffd3a", "OrderNo": 5, "RenewEndDate": "2025-07-02T05:12:21.7015094+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-07-02T05:12:21.7015094+03:00", "WeekDay": 10 }, { "DaylightSaving": 1, "EndDate": "2025-07-02T05:12:21.7015094+03:00", "LimitType": 2, "LNKey_ID": "fabf2fa1-cce6-4d40-b57c-acb90c59e324", "LNKeyTimeLimit_ID": "ca13045b-c8d7-4db9-8943-6878f8cffd3a", "OrderNo": 5, "RenewEndDate": "2025-07-02T05:12:21.7015094+03:00", "RenewGapCount": 7, "RenewGapType": 8, "RenewMinute": 9, "StartDate": "2025-07-02T05:12:21.7015094+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>a406dbed-6ed7-4321-bd38-722b3f3c3734</d2p1:guid> <d2p1:guid>973f8194-26f3-4eb0-a3a0-1cb4e33fe1e3</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-07-02T05:12:21.7015094+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>ca13045b-c8d7-4db9-8943-6878f8cffd3a</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>fabf2fa1-cce6-4d40-b57c-acb90c59e324</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-07-02T05:12:21.7015094+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-07-02T05:12:21.7015094+03:00</d2p1:StartDate> <d2p1:WeekDay>10</d2p1:WeekDay> </d2p1:KeyTimeLimit> <d2p1:KeyTimeLimit> <d2p1:DaylightSaving>1</d2p1:DaylightSaving> <d2p1:EndDate>2025-07-02T05:12:21.7015094+03:00</d2p1:EndDate> <d2p1:LNKeyTimeLimit_ID>ca13045b-c8d7-4db9-8943-6878f8cffd3a</d2p1:LNKeyTimeLimit_ID> <d2p1:LNKey_ID>fabf2fa1-cce6-4d40-b57c-acb90c59e324</d2p1:LNKey_ID> <d2p1:LimitType>2</d2p1:LimitType> <d2p1:OrderNo>5</d2p1:OrderNo> <d2p1:RenewEndDate>2025-07-02T05:12:21.7015094+03:00</d2p1:RenewEndDate> <d2p1:RenewGapCount>7</d2p1:RenewGapCount> <d2p1:RenewGapType>8</d2p1:RenewGapType> <d2p1:RenewMinute>9</d2p1:RenewMinute> <d2p1:StartDate>2025-07-02T05:12:21.7015094+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.