Skip to content
Skip to Content

Delete a service

DELETE
/services/{serviceId}

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.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (opk_…) or a CLI token (opc_…).

Path parameters

serviceId*string

The service's id.

Response body

Done.

Example request
curl -X DELETE "https://openpanel.sh/api/v1/services/$SERVICE_ID" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
Empty