---
title: "Force TTL expiry check"
method: POST
path: "/admin/check-ttl"
tags: ["admin"]
---

# Force TTL expiry check

`POST /admin/check-ttl`

Triggers a one-shot TTL expiry check. Identifies stacks with expired TTL policies
and initiates their destruction. Stacks with active commands are skipped.

Side effects: This endpoint destroys infrastructure. Any stack whose TTL has expired
will have all its resources destroyed. This is irreversible.

## Response `200`

OK: TTL check complete.

- ModelForceCheckTTLResponse
  - `command_ids` string[]
  - `expired_stacks` string[]

## Other responses

- `500` — Internal Server Error.

---

[API](https://skmtc.net/platform-engineering-labs/apis/formae-rest-api.md) · [All operations](https://skmtc.net/platform-engineering-labs/apis/formae-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/platform-engineering-labs/formae-rest-api/versions/e4ee5fb76a4f/schema)
