---
title: "Untag a dataset"
method: POST
path: "/data/untag"
tags: ["data"]
---

# Untag a dataset

`POST /data/untag`

Untags a dataset.

## Response `200`

The ID of the untagged dataset

- object
  - `data_untag` InlineResponse2003DataUntag
    - `id` string — ID of the untagged dataset

## Other responses

- `412` — Precondition failed. An error code and message are returned. 475 - Please give entity_id {data_id, flow_id, run_id} and tag. In order to remove a tag, please upload the entity id (either data_id, flow_id, run_id) and tag (the name of the tag). 476 - Entity {dataset, flow, run} not found. The provided entity_id {data_id, flow_id, run_id} does not correspond to an existing entity. 477 - Tag not found. The provided tag is not associated with the entity {dataset, flow, run}. 478 - Tag is not owned by you. The entity {dataset, flow, run} was tagged by another user. Hence you cannot delete it. 479 - Internal error removing the tag. Please contact OpenML Team.

---

[API](https://skmtc.dev/openml/apis/openml-api.md) · [All operations](https://skmtc.dev/openml/apis/openml-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openml/openml-api/revisions/263d3d6ee586/schema)
