---
title: "Delete Contact Variable"
method: DELETE
path: "/v1/contacts/{contact_id}/variables/{key}"
tags: ["contacts"]
---

# Delete Contact Variable

`DELETE /v1/contacts/{contact_id}/variables/{key}`

Delete a single variable from a contact or its account.

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

## Path parameters

- `contact_id` string, uuid, required
- `key` string, required

## Query parameters

- `scope` 'contact' | 'account', required

## Response `200`

Successful Response

- PublicContactVariablesOutput
  - `contact_variables` object, required — Custom variables stored on the contact for this workspace.
  - `account_variables` object, required — Custom variables stored on the contact's account for this workspace. Also manageable through the Account variables endpoints.

## Changes

- **2026-08-07** `6e9ca9d5acac` — 2 breaking, 2 info
  - removed the enum value `company` from the `query` request parameter `scope`
  - removed the required property `company_variables` from the response with the `200` status
  - added the new enum value `account` to the `query` request parameter `scope`
  - added the required property `account_variables` to the response with the `200` status

[Change history](https://skmtc.dev/topo/apis/topo-public-api/changes/v1/contacts/:contact_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/889b0290212f?raw)
