Skip to content

Commit cafc026

Browse files
committed
doc: add bulk_delete doc to readme
1 parent c1c4d32 commit cafc026

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,14 @@ deleted.
476476
imagekit.delete_file(file_id)
477477
```
478478

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+
479487
**6. Purge Cache**
480488
Programmatically issue a cache clear request as clear request as pet the [API documentation here](https://docs.imagekit.io/imagekit-docs/purge-cache-api).
481489
Accepts the full URL of the file for which the cache has to be cleared.

0 commit comments

Comments
 (0)