API server
https://app.coolify.io/api/v1Stop service.
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
docker_cleanup?boolean
Perform docker cleanup (prune networks, volumes, etc.).
Default
trueResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.coolify.io/api/v1/services/string/stop"{ "message": "Service stopping request queued."}{ "message": "Invalid token."}{ "message": "Unauthenticated."}{ "message": "Resource not found."}