# GET /move/profile

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the move group.

Preview importing the source server's profile

- Who may call it: administrator
- Token scope, any of: users, read, all
- Answers: 200 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

- [urbestack-move-profile-preview](https://urbestack.com/docs/commands/urbestack-move-profile-preview.md): Previews what importing the source server's profile would change on the destination.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/move/profile" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "preview": {}
}
```

## Errors

- 401: Authentication required
- 403: Insufficient privileges
