Delete folder
delete
https://api.imagekit.io
/v1/folder/
Delete folder API

Response structure and status code

In case of an error, you will get an error code along with the error message. On success, you will receive a 204 status code with an empty body.

Examples

Here is the example request to understand the API usage.
cURL
1
curl -X DELETE "https://api.imagekit.io/v1/folder/" \
2
-H 'Content-Type: application/json' \
3
-u your_private_key: -d '
4
{
5
"folderPath" : "folder/to/delete/"
6
}
7
'
Copied!
Last modified 24d ago