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

---

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