---
title: "Delete Sub Account. All sub account orders and mailing lists are moved to the main account. All image templates, message templates, and campaigns are deleted."
method: DELETE
path: "/sub-accounts/{subAccountId}"
tags: ["Sub Accounts"]
---

# Delete Sub Account. All sub account orders and mailing lists are moved to the main account. All image templates, message templates, and campaigns are deleted.

`DELETE /sub-accounts/{subAccountId}`

## Request

- Base URL: `https://api.thanks.io/api/v2`
- URL: `https://api.thanks.io/api/v2/sub-accounts/{subAccountId}`
- Auth: HTTP bearer

## Response `200`

Successful Response

- object

## Other responses

- `403`: Access token is missing or invalid
- `404`: Resource not found

## Changes

- **2025-09-09** `d0471df3ff62`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thanks-io/apis/thanks-io-api/changes/sub-accounts/:subAccountId/delete.md)

---

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