---
title: "Delete one tenant test user"
method: DELETE
path: "/auth/v1/test-users/{user_id}"
tags: ["Auth"]
---

# Delete one tenant test user

`DELETE /auth/v1/test-users/{user_id}`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/auth/v1/test-users/{user_id}`
- Auth: API key in header `apikey` and HTTP bearer

Service-key-only cleanup for a single project-owned watermarked test user. A cross-project or non-test target returns 403 instead of revealing existence.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Deleted test user

- AuthTestUsersDeleteResponse
  - `deleted_user_ids` string[], required
  - `app_schema_cleanup` string, required

## Other responses

- `403`: Target is not a project-owned test user

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
