---
title: "deleteContent(forProductID:)"
framework: storekit
role: symbol
role_heading: Type Method
path: "storekit/skdownload/deletecontent(forproductid:)"
---

# deleteContent(forProductID:)

Deletes the previously downloaded file.

## Declaration

```swift
class func deleteContent(forProductID productID: String)
```

## Parameters

- `productID`: The product identifier.

## Mentioned in

Unlocking purchased content

## See Also

### Managing Downloaded Content

- [contentURL(forProductID:)](storekit/skdownload/contenturl(forproductid:).md)
