Get your free beta license ↗
API operation · move group
POST

/move/key

First published 3 Oct 20260.1.0Unchanged since publication

Get UrbeStack's public SSH key for moves

Who may call it
AdministratorResellerCustomer
Token scope, any of
usersall
Answers200 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 server

Example

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 sentence
401Authentication required
403Insufficient privileges
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/