{
  "opencollection": "1.0.0",
  "info": {
    "name": "ImageKit Account Management API Managing folders API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Managing folders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.imagekit.io/v1/folder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "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.\n"
        },
        {
          "info": {
            "name": "Delete folder",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.imagekit.io/v1/folder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This will delete a folder and all its contents permanently. The API returns an empty response.\n"
        },
        {
          "info": {
            "name": "Copy folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.imagekit.io/v1/bulkJobs/copyFolder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This will copy one folder into another. The selected folder, its nested folders, files, and their versions (in `includeVersions` is set to true) are copied in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.\n"
        },
        {
          "info": {
            "name": "Move folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.imagekit.io/v1/bulkJobs/moveFolder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This will move one folder into another. The selected folder, its nested folders, files, and their versions are moved in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.\n"
        },
        {
          "info": {
            "name": "Rename folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.imagekit.io/v1/bulkJobs/renameFolder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API allows you to rename an existing folder. The folder and all its nested assets and sub-folders will remain unchanged, but their paths will be updated to reflect the new folder name.\n"
        },
        {
          "info": {
            "name": "Bulk job status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.imagekit.io/v1/bulkJobs/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "The `jobId` is returned in the response of bulk job API e.g. copy folder or move folder API.\n"
              }
            ]
          },
          "docs": "This API returns the status of a bulk job like copy and move folder operations.\n"
        }
      ]
    }
  ],
  "bundled": true
}