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

---

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