Skip to Content
SeyloDocs

Restart a service

POST
/api/v1/services.restart

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.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

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

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/services.restart' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string"}'
Example Response
{}