---
title: "Delete Account Variable"
method: DELETE
path: "/v1/accounts/{account_id}/variables/{key}"
tags: ["accounts"]
---

# Delete Account Variable

`DELETE /v1/accounts/{account_id}/variables/{key}`

## Request

- Base URL: `https://api.topo.io`
- URL: `https://api.topo.io/v1/accounts/{account_id}/variables/{key}`
- Auth: HTTP bearer

Delete a single variable from an account.

Requires the `accounts:write` scope on the API key.

## Path parameters

- `account_id` string, uuid, required
- `key` string, required

## Response `200`

Successful Response

- PublicAccountVariablesOutput
  - `variables` object, required: Custom variables stored on the account for this workspace.

## Changes

- **2026-08-07** `6e9ca9d5acac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/topo/apis/topo-public-api/changes/v1/accounts/:account_id/variables/:key/delete.md)

---

[API](https://skmtc.dev/topo/apis/topo-public-api.md) · [All operations](https://skmtc.dev/topo/apis/topo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/topo/apis/topo-public-api/revisions/62914910b2a8?raw)
