PUT api/v1/Keys/{id}/SecurityAccesses

Updates key's security accesses and time limits

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Key id

globally unique identifier

Required

Body Parameters

UpdateKeySecurityAccessesParam
NameDescriptionTypeAdditional 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": [
    "c3de1151-71c4-4e26-946b-b2c5baaba7ad",
    "86a6afb1-a720-407e-b709-2845b7d501c6"
  ],
  "TimeLimits": [
    {
      "DaylightSaving": 1,
      "EndDate": "2025-05-20T14:44:05.7208207+03:00",
      "LimitType": 2,
      "LNKey_ID": "ec8cf58d-1e4e-425f-9359-ce29818a53f8",
      "LNKeyTimeLimit_ID": "ea37fcee-7f89-4e5e-851d-7ec3a854fd46",
      "OrderNo": 5,
      "RenewEndDate": "2025-05-20T14:44:05.7208207+03:00",
      "RenewGapCount": 7,
      "RenewGapType": 8,
      "RenewMinute": 9,
      "StartDate": "2025-05-20T14:44:05.7208207+03:00",
      "WeekDay": 10
    },
    {
      "DaylightSaving": 1,
      "EndDate": "2025-05-20T14:44:05.7208207+03:00",
      "LimitType": 2,
      "LNKey_ID": "ec8cf58d-1e4e-425f-9359-ce29818a53f8",
      "LNKeyTimeLimit_ID": "ea37fcee-7f89-4e5e-851d-7ec3a854fd46",
      "OrderNo": 5,
      "RenewEndDate": "2025-05-20T14:44:05.7208207+03:00",
      "RenewGapCount": 7,
      "RenewGapType": 8,
      "RenewMinute": 9,
      "StartDate": "2025-05-20T14:44:05.7208207+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>c3de1151-71c4-4e26-946b-b2c5baaba7ad</d2p1:guid>
    <d2p1:guid>86a6afb1-a720-407e-b709-2845b7d501c6</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-05-20T14:44:05.7208207+03:00</d2p1:EndDate>
      <d2p1:LNKeyTimeLimit_ID>ea37fcee-7f89-4e5e-851d-7ec3a854fd46</d2p1:LNKeyTimeLimit_ID>
      <d2p1:LNKey_ID>ec8cf58d-1e4e-425f-9359-ce29818a53f8</d2p1:LNKey_ID>
      <d2p1:LimitType>2</d2p1:LimitType>
      <d2p1:OrderNo>5</d2p1:OrderNo>
      <d2p1:RenewEndDate>2025-05-20T14:44:05.7208207+03:00</d2p1:RenewEndDate>
      <d2p1:RenewGapCount>7</d2p1:RenewGapCount>
      <d2p1:RenewGapType>8</d2p1:RenewGapType>
      <d2p1:RenewMinute>9</d2p1:RenewMinute>
      <d2p1:StartDate>2025-05-20T14:44:05.7208207+03:00</d2p1:StartDate>
      <d2p1:WeekDay>10</d2p1:WeekDay>
    </d2p1:KeyTimeLimit>
    <d2p1:KeyTimeLimit>
      <d2p1:DaylightSaving>1</d2p1:DaylightSaving>
      <d2p1:EndDate>2025-05-20T14:44:05.7208207+03:00</d2p1:EndDate>
      <d2p1:LNKeyTimeLimit_ID>ea37fcee-7f89-4e5e-851d-7ec3a854fd46</d2p1:LNKeyTimeLimit_ID>
      <d2p1:LNKey_ID>ec8cf58d-1e4e-425f-9359-ce29818a53f8</d2p1:LNKey_ID>
      <d2p1:LimitType>2</d2p1:LimitType>
      <d2p1:OrderNo>5</d2p1:OrderNo>
      <d2p1:RenewEndDate>2025-05-20T14:44:05.7208207+03:00</d2p1:RenewEndDate>
      <d2p1:RenewGapCount>7</d2p1:RenewGapCount>
      <d2p1:RenewGapType>8</d2p1:RenewGapType>
      <d2p1:RenewMinute>9</d2p1:RenewMinute>
      <d2p1:StartDate>2025-05-20T14:44:05.7208207+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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.