---
title: "Close sub-account"
method: DELETE
path: "/api/v2/subaccounts/{id}"
tags: ["User Subaccounts"]
---

# Close sub-account

`DELETE /api/v2/subaccounts/{id}`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Sub-Accounts/closeSubaccount" target="_blank">Try in sandbox</a><br>

## Path parameters

- `id` integer, required

## Response `204`

Request executed with success.

## Other responses

- `401` — Unauthorized request.
- `403` — Returned when the current user is not allowed to manage sub-accounts.
- `404` — Request data not found.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
