---
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.

---

[API](https://skmtc.net/topo/apis/topo-public-api.md) · [All operations](https://skmtc.net/topo/apis/topo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topo/topo-public-api/versions/6e9ca9d5acac/schema)
