Services

Migrate to Server

Changed on

Migrate a service to another destination/server owned by the authenticated team. Stops the service, optionally transfers persistent volume data when both servers are managed by Coolify, and updates database records. Redeploy after migration completes.

post/services/{uuid}/migrate

Request

  • Base URL: https://app.coolify.io/api/v1
  • URL: https://app.coolify.io/api/v1/services/{uuid}/migrate
  • Auth: HTTP bearer

Path parameters

uuidstring required

UUID of the service.

Request body

destination_uuidstring required

UUID of the target destination.

migrate_volumesboolean

Whether to transfer persistent volume data when migrating across servers.

Response

Service migration started or completed.

Changes