---
title: "Truncate all tables"
method: DELETE
path: "/test/all"
tags: ["testing"]
---

# Truncate all tables

`DELETE /test/all`

Removes all data from every Vikunja table. Used by e2e tests to ensure clean state before each test. Requires the testing token.

## Response `200`

All tables truncated.

- object

## Other responses

- `403` — Forbidden
- `500` — Internal server error.

## Changes

- **2026-04-05** `e65394f01579` — 1 info
  - endpoint added
- **2025-07-28** `d7c1f946dc48` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/go-vikunja/apis/vikunja-api/changes/test/all/delete.md)

---

[API](https://skmtc.dev/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.dev/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/revisions/120501835be2/schema)
