Restart a service
Restarts the running containers of a service without deploying: same version, same settings. Use deployments.deploy to apply changed settings.
Needs services.control on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
curl -X POST 'https://example.com/api/v1/services.restart' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string"}'{}Move a service to another node POST
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.
Set a service's crash policy POST
Restart on or off after a crash, and with restart on, whether to stop after N crashes in a row (0 = never). The wait between restarts is a fixed 5 seconds. Applies to running containers right away. Needs `services.update` on the service (a grant on its project covers it). Available to MCP clients and the assistant.