---
title: "removePack | Mobile sdk | Mobile sdk android | Android"
description: "removePack"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# removePack

suspend fun [removePack](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-offline-manager/remove-pack/)(context: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html), pack: [MTOfflinePack](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-offline-pack/))

Deletes the specified offline pack from disk and removes it from the registry.

#### Parameters

context

The Android context.

pack

The offline pack to remove.
