Create folder
Create folder API
POST
https://api.imagekit.io/v1/folder/
This will create a new folder. You can specify the folder name and location of the parent folder where this new folder should be created.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | base64 encoding of Note the colon in the end. |
Request Body
Name | Type | Description |
---|---|---|
folderName | string | The folder will be created with this name. All characters except alphabets and numbers (inclusive of unicode letters, marks, and numerals in other languages) will be replaced by an underscore i.e. |
parentFolderPath | string | The folder where the new folder should be created, for root use Note: If any folder(s) is not present in the |
Response structure and status code
On success, you will receive a 201
status code with an empty body.
Examples
Here is the example request to understand the API usage.
Last updated