---
title: "Change the status of a dataset"
method: POST
path: "/data/status/update/"
tags: ["data"]
---

# Change the status of a dataset

`POST /data/status/update/`

Change the status of a dataset, either 'active' or 'deactivated'

## Other responses

- `412` — Precondition failed. An error code and message are returned. 691 - Illegal status 692 - Dataset does not exists 693 - Dataset is not owned by you 694 - Illegal status transition 695 - Status update failed

## Changes

- **2019-02-22** `8e2f718635ef` — 1 info
  - endpoint added
- **2018-01-17** `2209d99ea36e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openml/apis/openml-api/changes/data/status/update/post.md)

---

[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)
