A collection can be deleted using [`delete_collection`].  
<Tip warning={true}>  
This is a non-revertible action. A deleted collection cannot be restored.  
</Tip>  
```py
>>> from huggingface_hub import delete_collection
>>> collection = delete_collection("username/useless-collection-64f9a55bb3115b4f513ec026", missing_ok=True)
```