BizKitHub
DocsAPI ReferenceApi Key/bff/api-key/set-expiration-date
postApi KeyAdmin BFF

/bff/api-key/set-expiration-date

Moves the expiration date of an API key. The new date must be strictly in the future — you cannot backdate a key. Deleted keys cannot be extended; generate a new key instead. The action is audited with an e-mail notification.

API KeypostBffApi-keySet-expiration-date

Parameters

JSON body

Request body

application/json
idstringRequired

External identifier (UUID) of the API key.

Example550e8400-e29b-41d4-a716-446655440000
expirationDatestringRequired

New expiration date in ISO format. Must be strictly in the future.

Example2027-07-16T00:00:00.000Z

Response schema

1 status code documented

200SuccessExpiration date updated successfully.
successbooleanRequired
Default: true

Response example

application/json
{
  "success": true
}

Request example

POST /bff/api-key/set-expiration-date

post
curl -X POST "https://api.bizkithub.com/bff/api-key/set-expiration-date" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "expirationDate": "2027-07-16T00:00:00.000Z"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key