Get your free beta license ↗
API operation · backups group
DELETE

/backups/remote/host-key

First published 3 Oct 20260.1.0Unchanged since publication

Forget the recorded SSH host key for the remote backup server

Who may call it
AdministratorResellerCustomer
Token scope, any of
backupsall
Answers200 OK

Use this operation after reinstalling the remote host. UrbeStack removes the recorded SSH host key for backups.remote_host on backups.remote_port and returns 200. Remote backup copies are refused until the next urbestack-backup-remote-test records the host key it sees.

The token requires the backups scope. UrbeStack returns 403 to callers without administrator privileges and 404 if there is no recorded host key.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X DELETE "$API/backups/remote/host-key" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "forgotten": "text"
}

Errors

3 errors, each a status and a sentence
401Authentication required
403Insufficient privileges
404No host key is recorded
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-backups-remote-host-key/