You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -476,6 +476,14 @@ deleted.
476
476
imagekit.delete_file(file_id)
477
477
```
478
478
479
+
**6. Bulk File Delete by IDs**
480
+
Delete a file as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/delete-files-bulk). The method accepts list of file IDs of files that has to be
481
+
deleted.
482
+
483
+
```python
484
+
imagekit.bulk_delete(["file_id1", "file_id2"])
485
+
```
486
+
479
487
**6. Purge Cache**
480
488
Programmatically issue a cache clear request as clear request as pet the [API documentation here](https://docs.imagekit.io/imagekit-docs/purge-cache-api).
481
489
Accepts the full URL of the file for which the cache has to be cleared.
0 commit comments