---
title: "Migrate server to another Coolify instance"
method: POST
path: "/servers/{uuid}/migrate"
tags: ["Servers"]
---

# Migrate server to another Coolify instance

`POST /servers/{uuid}/migrate`

One-shot handoff: export this server, import+claim on the target instance (using the provided token), then disable automations here. Requires read:sensitive and write.

## Path parameters

- `uuid` string, required

## Request body

- object
  - `target_url` string, required
  - `target_token` string, required — API token on the target instance (root or write)
  - `write_remote` boolean
  - `rebind_sentinel` boolean
  - `preserve_uuids` boolean
  - `adopt_mode` boolean

## Response `200`

Migrated

## Other responses

- `403` — Missing sensitive permission
- `404` — Resource not found.
- `422` — Validation or remote import failed

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/789e6ad3796c/schema)
