Extend a BLE key validity
|
PUT /api/v1/billing/access-points/{access_point}/ble-controllers/{ble_controller}/keys/{key} |
Updates the key expiration date (valid_till) and regenerates the access token (key_data).
JSON
{
"valid_till": "2024-03-01T00:00:00Z",
"floor": 3
}
Method parameters
string access_point required , (path) Access point UUID.
string ble_controller required , (path) UUID of the BLE controller used to generate the token.
integer key required , (path) User BLE key ID.
string valid_till required , New key expiration date and time.
string floor, Floor encoded in the token. Number or string. Default: 0.
|
200 |
|
Key updated successfully JSON
|
|
404 |
|
Key not found |
|
422 |
|
Validation error. For more information, see General information > Validation. JSON
|