<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHCollectionListChangeRequest/deleteCollectionLists(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHCollectionListChangeRequest(cm)deleteCollectionLists:"
  },
  "title" : "deleteCollectionLists(_:)"
}
-->

# deleteCollectionLists(_:)

Requests to delete the specified asset collections.

```
class func deleteCollectionLists(_ collectionLists: any NSFastEnumeration)
```

## Parameters

`collectionLists`

An array of [`PHCollectionList`](/documentation/Photos/PHCollectionList) objects to be deleted.

## Discussion

Call this method within a photo library change block to delete collection lists. For details on change blocks, see [`PHPhotoLibrary`](/documentation/Photos/PHPhotoLibrary).

> Important:
> Deleting a collection list also deletes any child collections it contains. To preserve those collections, remove them from the collection list (with the ``doc://com.apple.photokit/documentation/Photos/PHCollectionListChangeRequest/removeChildCollections(_:)`` or ``doc://com.apple.photokit/documentation/Photos/PHCollectionListChangeRequest/removeChildCollections(at:)`` method) before deleting it. Deleting a collection list does not delete assets contained in its child collections.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)