---
title: "Delete an account type"
method: DELETE
path: "/v2/accountTypes/{accountTypeId}"
tags: ["Account types"]
---

# Delete an account type

`DELETE /v2/accountTypes/{accountTypeId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/accountTypes/{accountTypeId}`
- Auth: HTTP bearer

Delete a custom account type and reassign its users to another account type.

  ### Usage notes
  - To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
  - Default Sigma account types cannot be deleted.
  - All users assigned to the deleted account type will be reassigned to the specified **reassignToAccountTypeId**.
  - Retrieve account type IDs by calling the [/v2/accountTypes](https://help.sigmacomputing.com/reference/list-account-types) endpoint.

  ### Usage scenarios
  - Remove custom account types that are no longer needed.
  - Consolidate account types by moving users to a different account type before deletion.

## Path parameters

- `accountTypeId` string, required

## Query parameters

- `reassignToAccountTypeId` string

## Response `200`

The response body.

- AccountTypesDeleteAccountTypeResponse200

---

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