---
title: "POST Clean up expired tokens"
description: "Removes expired verification, email verification, and password reset tokens from the database."
last_updated: "2026-10-05T05:08:28.125576+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/cron/cleanupexpiredtokens"
---

<APIEndpoint
  method={"POST"}
  path={"/api/cron/cleanup/expired-tokens"}
  summary={"Clean up expired tokens"}
  description={"Removes expired verification, email verification, and password reset tokens from the database."}
  deprecated={false}
  baseUrl={""}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successful cleanup response"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/cron/cleanup/expired-tokens"}
  parameters={[]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
