Update backup scheduling and retention config (admin)

PUT/api/v1/backups/config

Parameters

This endpoint does not accept parameters.

Responses

200Backup config updated

Request

curl -X PUT "https://api.knowledgetree.dev/api/v1/backups/config" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "schedule_cron": "0 2 * * *", "retention_days": 90, "include_graph": true }'

Response

200Backup config updated
Example response not yet documented.