---
title: "Delete variable name"
method: POST
path: "/dataTables/{data_table_id}/variableNames/removeVariableName"
tags: ["DataTable"]
---

# Delete variable name

`POST /dataTables/{data_table_id}/variableNames/removeVariableName`

Remove an existing variable name and its associated values from all scenarios in the DataTable

## Path parameters

- `data_table_id` string, required

## Request body

- VariableNamesRemoveRequest
  - `name` string — Variable name to remove

## Response `200`

The current variable names after removal

- string[]

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — DataTable not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
