# Deleting assets

This API reference document contains information on deleting assets

Hygraph exposes a `deleteAsset` mutation that you can use to delete any unwanted assets.

Simply pass the `id` of the asset you want to delete:

```graphql
mutation {
  deleteAsset(where: { id: "..." }) {
    id
  }
}
```

**Warning:**
Deleting assets is a permanent change, and cannot be rolled back.

Learn more about [Mutations](https://hygraph.com/docs/api-reference/content-api/mutations#delete-entries).
