---
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.

## Changes

- **2026-04-06** `fcfa0c7e8ff9` — 1 info
  - endpoint added
- **2025-10-21** `fb06d951574c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/platform-engineering-labs/apis/formae-rest-api/changes/admin/check-ttl/post.md)

---

[API](https://skmtc.dev/platform-engineering-labs/apis/formae-rest-api.md) · [All operations](https://skmtc.dev/platform-engineering-labs/apis/formae-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/platform-engineering-labs/formae-rest-api/revisions/17a8f5fd7318/schema)
