---
title: "Confirm Closure Code"
method: POST
path: "/api/v1/me/closure/confirm"
---

# Confirm Closure Code

`POST /api/v1/me/closure/confirm`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/me/closure/confirm`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

Step one, completed: the code comes back, and the browser is given a
ticket for the last step. One refusal for a code that is wrong, expired,
used, spent by five wrong tries, or was mailed to sign in.

## Request body

- ClosureCodeConfirm: Step one of closing an account: the code that was mailed to it.
  - `code` string, required

## Response `200`

Successful Response

- ClosureTicket: What the browser holds between the code and the last step: good for fifteen minutes, for this account, once.
  - `ticket` string, required
  - `expires_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
