---
title: "DeleteAccount"
method: POST
path: "/gitpod.v1.AccountService/DeleteAccount"
tags: ["gitpod.v1.AccountService"]
---

# DeleteAccount

`POST /gitpod.v1.AccountService/DeleteAccount`

Deletes an account permanently.

 Use this method to:
 - Remove unused accounts
 - Clean up test accounts
 - Complete account deletion requests

 The account must not be an active member of any organization.

 ### Examples

 - Delete account:

   Permanently removes an account.

   ```yaml
   accountId: "f53d2330-3795-4c5d-a1f3-453121af9c60"
   ```

## Request body

- GitpodV1DeleteAccountRequest
  - `accountId` string, uuid, required
  - `reason` string, nullable — reason is an optional field for the reason for account deletion

## Response `200`

Success

- GitpodV1DeleteAccountResponse

## Other responses

- `default` — Error

## Changes

> 18 revisions in range; 1 could not be searched.

- **2025-12-15** `d62ef4b9187c` — 1 info
  - added the new optional request property `reason`
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status
- **2025-02-14** `988164042da1` — 1 breaking
  - the request property `accountId` became required

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.AccountService/DeleteAccount/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
