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

# Delete a planning table dataset

`DELETE /tables/{table_pk}/datasets/{dataset_pk}`

## Request

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

Delete a planning table dataset by id.

## Path parameters

- `dataset_pk` string, required
- `table_pk` string, 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 added

[Operation history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/tables/:table_pk/datasets/:dataset_pk/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)
