---
title: "Close an Account"
method: POST
path: "/v1/accounts/{account_id}/actions/close"
tags: ["Accounts"]
---

# Close an Account

`POST /v1/accounts/{account_id}/actions/close`

This operation closes an active account. The underlying records and information of the account are not deleted by this operation.

**Before closing an account, you are responsible for closing all the positions and withdrawing all the money associated with that account. Learn more in the Positions Documentation.**

## Response `204`

Success

## Other responses

- `404` — Account Not Found

---

[API](https://skmtc.net/alpacahq/apis/gift-city-extensions-api.md) · [All operations](https://skmtc.net/alpacahq/apis/gift-city-extensions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alpacahq/gift-city-extensions-api/revisions/62e3378bb273/schema)
