---
title: "Confirm deletion of the current user."
method: POST
path: "/users/current/confirm-delete"
tags: ["Permissions"]
---

# Confirm deletion of the current user.

`POST /users/current/confirm-delete`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/users/current/confirm-delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/users/current/confirm-delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Confirms and executes the deletion of the currently authenticated user and all associated data using the delete ID from the initial request.

## Query parameters

- `timeout` number, double

## Request body

- ConfirmUserDeletionRequest
  - `delete_id` string, required: The delete ID returned from the initial deletion request.

## Response `204`

User deletion completed successfully

## Other responses

- `400`: Invalid or expired delete ID
- `401`: Unauthorized - Invalid or missing API key
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
