# POST /move/cutover

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

UrbeStack release 0.2.35 API operation in the move group.

Start a job to cut over copied accounts to the destination

- Who may call it: administrator
- Token scope, any of: users, all
- Answers: 202 Accepted

Returns 202 with the job in job. The job cuts over one account at a time and includes a reseller's copied customers when cutting over the reseller. For each account, the source disables all logins, serves an HTTP 503 page for its sites, and queues mail for its domains. A final copy imports the current records, transfers changed files, and reloads every database from a fresh dump. The destination applies the account's original status and marks it live.

The source updates the account's DNS records that refer to its IP address to use the destination's IP address. In SPF records, it replaces only that IP address. It forwards queued mail and any mail it continues to receive, and its sites display a notice that they have moved. The source retains the account and its data.

If the job fails before the account goes live, it rolls back the cutover, restores service on the source, and reports the rollback in the job error. If the job fails after the account goes live, service continues on the destination and the job error gives the remaining command to run on the source.

The job result lists the destination nameservers to set at the registrar and the DNS records to update manually for zones hosted elsewhere.

Returns 400 unless users is a nonempty array of account names. Requires a token with the users scope. Returns 403 if the caller lacks administrator privileges.

## Request body

JSON, the type [MoveCutoverRequest](https://urbestack.com/docs/api/types/MoveCutoverRequest.md).

- `users` (array of SourceUsername, required): Usernames of the accounts to cut over, each copied at least once. Selecting a reseller also cuts over their copied customers.

## 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 POST "$API/move/cutover" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "users": [
      "text"
    ]
  }'
```

Response, 202 Accepted:

```
{
  "job": {
    "created_at": "2026-09-09T10:15:00Z",
    "created_by": 1,
    "created_by_name": "text",
    "dismissed_at": "text",
    "finished_at": "2026-09-09T10:15:04Z",
    "id": 1,
    "lane": "short",
    "log": "",
    "params": {},
    "progress": 100,
    "result": {},
    "started_at": "2026-09-09T10:15:01Z",
    "status": "queued",
    "type": "rebuild",
    "usual_seconds": 1
  }
}
```

## Errors

- 400: A new job is queued or running
- 400: Invalid <what>: 
- 400: Invalid source username: 1 to 32 lowercase letters, digits, underscores or hyphens, starting with a letter
- 400: Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
- 400: Job parameters must be an object
- 400: Name the accounts in users
- 400: Unknown job type
- 400: Username '<value>' is reserved
- 400: users is a list of account names
- 401: Authentication required
- 403: Insufficient privileges
- 404: User '<user>' not found

## Change log

Most recent first.

- 0.2.33 · 25 Nov 2026 · Account names use the source server’s names. Each name in users is the account’s name on the source server and must be 1 to 32 characters long, start with a letter and contain only lowercase letters, digits, underscores or hyphens. (from named type [`MoveCutoverRequest`](https://urbestack.com/docs/api/types/MoveCutoverRequest.md))
- 0.1.0 · 3 Oct 2026 · First published.
