CorebanqCorebanq Developer Docs
Healthv1Lifecycle

Container preStop hook

PreStop lifecycle hook for container orchestration (AWS ECS, Kubernetes, Docker) graceful shutdown. Should only be called by container orchestrator or internal infrastructure.

GET/lifecycle/prestop

Authorization

InternalOnly
X-Internal-Request<token>

Internal requests only (container orchestrator, infrastructure)

In: header

Response Body

text/plain

text/plain

text/plain

text/plain

curl -X GET "https://example.com/lifecycle/prestop"
"Shutting down gracefully"
"Forbidden: Invalid source IP"
"Method Not Allowed"
"System is already shutting down"