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

/move/accounts

First published 3 Oct 20260.1.0Last changed 25 Nov 20260.2.343 changes to view
Latest change (release 0.2.34): Added the cached parameter and source.read_at field.

List source accounts and their status on the destination

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

Run as root on the server

Parameters

cachedquery ·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

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/move/accounts?cached=1" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "accounts": [
    {}
  ],
  "source": {}
}

Errors

2 errors, each a status and a sentence
401Authentication required
403Insufficient privileges

Change log

3 changes since publication, newest first
0.2.3425 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.3325 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.3325 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.03 Oct 2026
First published.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry last changed in release 0.2.34 on 25 Nov 2026.
urbestack.com/docs/api/get-move-accounts/