Coolify logoCoolify
GET
/services/{uuid}/restart

Restart service. Post request is also accepted.

Authorization

bearerAuth
AuthorizationBearer <token>

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

In: header

Path Parameters

uuid*string

UUID of the service.

Query Parameters

latest?boolean

Pull latest images.

Defaultfalse

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.coolify.io/api/v1/services/string/restart"
{  "message": "Service restaring request queued."}
{  "message": "Invalid token."}
{  "message": "Unauthenticated."}
{  "message": "Resource not found."}