We're transitioning Studio from Beta to Early Availability
Hygraph
Docs

You are currently reading the Studio Docs. If you were looking for the Classic Docs check here

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:

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

Learn more about Mutations.