# How to unpublish and/or delete datasets

## Unpublishing a dataset

<mark style="color:purple;">`Unpublish`</mark> function:

* When a dataset is unpublished, it is taken offline and is not visible to site visitors.
* Unpublished datasets are still accessible to site admins on the admin site and can be republished at a later time.
* This action is reversible and is often used when the content needs to be temporarily removed from public view, but may be relevant again in the future.

1. Upon logging into the admin panel, click the ⋮ button on your selected dataset. The drop down menu will be revealed. Proceed to click on the `update` icon.&#x20;

<figure><img src="/files/eZDu8ZvdENc7rMc7xRYt" alt=""><figcaption></figcaption></figure>

2. Click on the downward arrow at the top right hand corner of the screen. This will reveal the unpublish button. Click on <mark style="color:purple;">`unpublish`</mark> to unpublish your dataset from the site, and remove visibility of the dataset to site visitors.

<figure><img src="/files/i7LD02MJgJJ6QSaK0nnP" alt=""><figcaption></figcaption></figure>

## Deleting a dataset

<mark style="color:red;">`Delete`</mark> function:&#x20;

* When a dataset is unpublished and deleted, it is permanently removed from the site.
* Deleted datasets are typically not recoverable, and the content is completely erased from the site's database.
* This action is irreversible and is often used when the content is no longer relevant or appropriate for the site.

1. Upon logging into the admin panel, click the ⋮ button on your selected dataset. This will reveal the pop out as below. Click on the <mark style="color:red;">`Unpublish & delete`</mark> icon

<figure><img src="/files/hZbL9bbguO7rdR1PSKv2" alt=""><figcaption></figcaption></figure>

2. If your dataset is currently unpublished, select the <mark style="color:red;">`Delete`</mark> icon instead.&#x20;

<figure><img src="/files/qw1r9JAnxEAXMGMPM8ef" alt=""><figcaption></figcaption></figure>

3. Select <mark style="color:red;">`Confirm delete`</mark> to permanently remove the dataset from data.gov.sg &#x20;

<figure><img src="/files/DKXgED0kBCIWhFgxIwD4" alt=""><figcaption></figcaption></figure>

For further queries feel free to reach out to us: [Contact the Data.gov.sg team](https://form.gov.sg/6449e5c3664c1b001249acf1)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.data.gov.sg/user-guide/for-data-owners/how-to-unpublish-and-or-delete-datasets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
