API server
https://app.coolify.io/api/v1Move service to another project/environment. This is a purely organizational change — running containers are not affected. Note: after moving, the service will pick up shared environment variables from the new environment on the next deployment.
Authorization
bearerAuth Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
In: header
Path Parameters
UUID of the service.
Request Body
application/json
Target environment to move the service to.
TypeScript Definitions
Use the request body type in TypeScript.
UUID of the target environment.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://app.coolify.io/api/v1/services/string/move" \ -H "Content-Type: application/json" \ -d '{ "environment_uuid": "string" }'{ "message": "Service moved successfully.", "uuid": "string", "project_uuid": "string", "environment_uuid": "string"}{ "message": "Invalid token."}{ "message": "Unauthenticated."}{ "message": "Resource not found."}{ "message": "Validation error.", "errors": { "name": [ "The name field is required." ], "api_url": [ "The api url field is required.", "The api url format is invalid." ] }}Migrate to Server POST
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.
Restart POST
Restart service.
