Skip to Content
SeyloDocs

Move a service to another node

POST
/api/v1/services.move

Moves a single-node service to another node: deploys it there, copies its volumes while the old copy is stopped, switches traffic, then removes the old copy. Progress shows as a deployment with trigger move; on failure the service stays on the old node.

Needs services.move on the service (a grant on its project covers it). Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
toNodeId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
deploymentId*string

Panel-issued id.

Match^[a-z0-9]{16}$
Example Request
curl -X POST 'https://example.com/api/v1/services.move' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string",  "toNodeId": "string"}'
Example Response
{  "deploymentId": "string"}