kio-link-bms.session_token: ********************x-api-key: ********************{
"keyId": "string",
"name": "string",
"enabled": true,
"expiresIn": 86400,
"metadata": {
"property1": "string",
"property2": "string"
}
}curl --location '/api/auth/api-key/update' \
--header 'Origin: {{bmsOrigin}}' \
--header 'Content-Type: application/json' \
--data '{
"keyId": "string",
"name": "string",
"enabled": true,
"expiresIn": 86400,
"metadata": {
"property1": "string",
"property2": "string"
}
}'{
"id": "string",
"name": "string",
"start": "string",
"prefix": "string",
"referenceId": "string",
"enabled": true,
"expiresAt": "2019-08-24T14:15:22.123Z",
"lastRequest": "2019-08-24T14:15:22.123Z",
"requestCount": 0,
"remaining": 0,
"rateLimitEnabled": true,
"rateLimitTimeWindow": 0,
"rateLimitMax": 0,
"refillInterval": 0,
"refillAmount": 0,
"lastRefillAt": "2019-08-24T14:15:22.123Z",
"permissions": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}