# Deleting a document

You can delete a document by clicking 'Settings | Delete'.

<figure><img src="https://672843079-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoitfV0OP-HrMLMazq_%2Fuploads%2F2PGFXcQSiprskYUzsgzC%2Fimage.png?alt=media&#x26;token=47871cd3-253e-4682-8ea4-4a3f2b31f3b9" alt="" width="197"><figcaption></figcaption></figure>

{% hint style="warning" %}
You cannot delete a published document. Mark it as a draft first.
{% endhint %}

{% hint style="info" %}
Only users with a Review badge, which includes the 'Can delete document' permission, can delete a document.
{% endhint %}

{% hint style="info" %}
If you delete a document by accident, an administrator can undelete it for you.

Administrators: visit `/admin/indigo_api/document/` and click on the document to recover, scroll down to find the **Deleted** checkbox, uncheck it and click 'Save'.
{% endhint %}
