---
title: "Close the account: stop and delete everything it runs and stores, end every key, and dissolve it."
method: POST
path: "/v1/account:close"
tags: ["account"]
---

# Close the account: stop and delete everything it runs and stores, end every key, and dissolve it.

`POST /v1/account:close`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/account:close`
- Auth: HTTP bearer

Needs a key for every product made by an owner, and confirm set to the account's name exactly (GET /v1/me shows it as orgName). It cannot be undone. Closing moves no money: what is unspent of a purchase made in the last 15 days is refunded by hand on request, as the terms say; other credit, and granted credit, is forfeited.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `confirm` string, required: The account's name, typed exactly.

## Response `200`

Success

- object
  - `orgId` string, required
  - `name` string, required: The account's name, as it was typed to confirm.
  - `closedAt` string, required: When it closed, ISO 8601 UTC.
  - `released` boolean, required: True when nothing was left running or stored; otherwise what is still stopping is stopped and deleted within minutes.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
