---
title: "Trigger Drain"
method: POST
path: "/internal/drain"
---

# Trigger Drain

`POST /internal/drain`

preStop drain trigger: requires the shared DRAIN_TOKEN and a loopback
peer; idempotent. 404 on any failure (it takes the pod out of rotation, so
we don't confirm the endpoint to unauthorized callers).

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/hedra/apis/fastapi.md) · [All operations](https://skmtc.net/hedra/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hedra/fastapi/revisions/c81b0f517d8c/schema)
