---
title: "Delete account"
method: DELETE
path: "/v2/partition/{partitionId}/account/{accountId}"
tags: ["Account"]
---

# Delete account

`DELETE /v2/partition/{partitionId}/account/{accountId}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Use to delete an account. An account that has telephonenumbers or in progress lifecycle events cannot be deleted. Refer to <a href="#/~operation/Telephone%20Number/">Telephone Numbers</a> for information on how to remove telephone numbers.

## Path parameters

- `accountId` string, required
- `partitionId` string, required

## Response `200`

Successful operation

## Other responses

- `400`: Account cannot be deleted due to in progress lifecycle events
- `401`: Unauthorized
- `404`: Account or Partition not found.
- `500`: Unknown issue has occurred.

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
