# GET /move/accounts

First published 3 Oct 2026 (release 0.1.0) · Last changed 25 Nov 2026 (release 0.2.34)

UrbeStack release 0.2.35 API operation in the move group.

List source accounts and their status on the destination

- Who may call it: administrator
- Token scope, any of: users, read, all
- Answers: 200 OK

Each call tests the connection and queries the source unless cached is true. When cached is true, the API uses the list kept on the destination and connects to the source to query the account list only if no list is kept. UrbeStack keeps the account list whenever the source returns it, including on calls to this operation with cached omitted or false and during a connection test, a copy, or a cutover. Every response includes the current status of each account on the destination. The source.read_at field gives the time the source returned the account list. Returns source and accounts, with each customer's or reseller's role, owner, package, status, domains, databases, sizes, and requirements for PHP versions, the mail stack, MariaDB, and FTP. The operation has a timeout of 290 seconds.

On the destination, an account is absent before its first copy, arriving while it awaits cutover, or live after cutover. An account is taken if its source username is reserved or invalid on the destination or if an account with that username already exists there and came from elsewhere. For a taken account, why gives the reason and as must specify another username for the copy. source.unlisted gives the usernames of accounts omitted from accounts because the move cannot use those usernames. For a move, a username on the source must start with a letter and contain 1 to 32 lowercase letters, digits, underscores or hyphens. For arriving accounts, the response includes the number of copies and statistics from the latest copy. The time spent dumping databases estimates cutover downtime.

Requires a token with the users scope. Returns 403 if the caller lacks administrator privileges.

## As a command

- [urbestack-move-list](https://urbestack.com/docs/commands/urbestack-move-list.md): Lists the customers and resellers on the source server after testing the connection.

## Parameters

- `cached` (query, boolean): Set cached to true to use the list kept on the destination. The API connects to the source to query the account list only if no list is kept. The default is false.

## 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/accounts?cached=1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "accounts": [
    {}
  ],
  "source": {}
}
```

## Errors

- 401: Authentication required
- 403: Insufficient privileges

## Change log

Most recent first.

- 0.2.34 · 25 Nov 2026 · Added the cached parameter and source.read_at field. With cached=true, the operation uses the account list stored on this server and queries the source server only if no list is stored. The source.read_at field reports when the source server returned the list.
- 0.2.33 · 25 Nov 2026 · Added the source.unlisted field. The field lists accounts on the source server that cannot be moved, including accounts with a capital letter, space or dot in their name.
- 0.2.33 · 25 Nov 2026 · Names this server cannot assign now appear as taken. The operation reports a reason when a name is reserved on this server, has one character or contains a hyphen, so you can copy the account under another name.
- 0.1.0 · 3 Oct 2026 · First published.
