API operation · move group
POST
/move/key
First published 3 Oct 2026
0.1.0Unchanged since publicationGet UrbeStack's public SSH key for moves
Who may call it
AdministratorResellerCustomer
Token scope, any of
usersallAnswers200 OK
Returns public_key and fingerprint. UrbeStack generates an Ed25519 key pair on the first call if needed and returns the same key on subsequent calls. Only root can access the private key.
Add the public_key line to /root/.ssh/authorized_keys on the source server. This lets the destination run the urbestack-move-source scripts and the rsync sender as root on the source server.
Requires a token with the users scope. Returns 403 if the caller lacks administrator privileges.
As a command
Run as root on the serverExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/move/key" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"fingerprint": "text",
"public_key": "text"
}Errors
2 errors, each a status and a sentence401Authentication required403Insufficient privilegesNo error of this operation matches.
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/post-move-key/