Delete a service
DELETE
Deletes the service with its volumes, variables, deployments and domains; its servers stop it.
This loses data or replaces what runs; MCP asks for confirmation first.
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
serviceId*stringThe service's id.
Done.
curl -X DELETE "https://openpanel.sh/api/v1/services/$SERVICE_ID" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"Example response
Empty
Change a service's settings PATCH
Source, build, start command, exposure, load balancer and replicas, ports, health check, resources and servers. Only the fields sent change, and changes take effect at the next deployment. A service with a volume always runs as one instance.
Add a volume POST
Persistent storage at a path in the container. Its data lives on the server the service is placed on at its next deploy; a service with a volume runs as one instance.