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

/move/profile

First published 14 Oct 20260.2.0Unchanged since publication

Preview importing the source server's profile

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

Tests the connection to the configured UrbeStack source, fetches its profile, and returns the proposed changes in preview without applying them. The operation has a timeout of 290 seconds.

settings.changed lists settings whose values differ and gives both values. settings.added lists settings present only on the source. In both lists, names_old_server is true when the source value refers to its hostname, one of its IP addresses, or a nameserver. The web interface leaves those settings unselected by default. settings.same counts settings with matching values. The preview reports panel_port separately if applying it would change the destination's web interface port.

packages.new lists packages to add, packages.changed shows changes to individual package values, and packages.same reports matching packages. packages.waiting_for_owner lists reseller packages whose owners are absent from the destination. mail_lists and firewall_rules give the counts of mail lists and firewall rules in the profile.

files.sections reports which sections the profile contains, using the values hooks, overrides, custom, and files. files.names lists the files, files.fetch gives the rsync command to fetch them into /root/urbestack-review, and files.command gives the shell command to import them after review. The web interface leaves files that root would run or render for root to review and import. Use POST /move/copy with profile to apply the profile through the API.

Returns 400 if no source is configured or the source uses a third-party control panel, 409 if the source runs an incompatible UrbeStack version, and 502 if the source fails to respond.

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 GET "$API/move/profile" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "preview": {}
}

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.2.0 on 14 Oct 2026.
urbestack.com/docs/api/get-move-profile/