---
title: "Delete a planning table dataset"
method: DELETE
path: "/tables/{table_pk}/datasets"
tags: ["Planning Table"]
deprecated: true
---

# Delete a planning table dataset

`DELETE /tables/{table_pk}/datasets`

## Request

- Base URL: `https://api.cubesoftware.com`
- URL: `https://api.cubesoftware.com/tables/{table_pk}/datasets`
- Auth: OAuth 2
  - Authorization code: `https://portal.cubesoftware.com/o/authorize/`
  - Token URL: `https://api.cubesoftware.com/o/token/`

> **Deprecated.**

Deprecated. Delete the planning table dataset for a scenario. Prefer DELETE /tables/{table_pk}/datasets/{dataset_pk}.

## Path parameters

- `table_pk` integer, required

## Headers

- `X-Company-ID` string, required

## Response `204`

No response body

## Changes

> 34 revisions in range; 1 not diffed.

- **2026-10-29** `b73720621499`: 1 info
  - endpoint deprecated
- **2026-09-30** `2bb664f34d88`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/tables/:table_pk/datasets/delete.md)

---

[API](https://skmtc.dev/cubesoftware/apis/cube-api.md) - [All operations](https://skmtc.dev/cubesoftware/apis/cube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cubesoftware/apis/cube-api/revisions/92c7a097d975?raw)
