[android-components](../../index.md) / [mozilla.components.browser.thumbnails.storage](../index.md) / [ThumbnailStorage](index.md) / [deleteThumbnail](./delete-thumbnail.md)

# deleteThumbnail

`fun deleteThumbnail(sessionIdOrUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): Job` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/storage/ThumbnailStorage.kt#L59)

Deletes the given thumbnail [Bitmap](#) from the disk cache with the provided session ID or url
as its key.

