postPubliczne API v1

/api/v1/backup/install/claim

Called by the installer after every check on the machine passed. Uses the token up (exactly once), creates a PROD API key limited to the backup service and returns it as plain text. A previous installation of the same series is replaced: its installer key is deactivated (the organisation admins are notified; it can be reactivated under API keys).

backupbackupInstallClaim

Treść żądania

application/json
tokenstringWymagane

One-time install token.

Długość: 16–64
hoststringOpcjonalne

Hostname of the machine.

Długość: 0–255

Przykład żądania

curl -X POST "https://api.bizkithub.com/api/v1/backup/install/claim?apiKey=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "token": "example_token",
  "host": "example_host"
}'