your_private_api_key:
Note the colon in the end/path/of/source/folder
./path/of/destination/folder/
.jobId
which can be used to get the move operation's status.{"jobId" : "598821f949c0a938d57563bd"}
sourceFolderPath
then a 404
response is returned.{"message" : "No files & folder found at sourceFolderPath /folder/to/move","help" : "For support kindly contact us at support@imagekit.io .","reason" : "NO_FILES_FOLDER"}
In case of error, you will get an error code along with the error message. On success, you will receive a 200
status code with JSON encoded response containing information about jobId
. You can use jobId
to get the status of this job using bulk job status API.
Here is the example request to understand the API usage.
curl -X POST "https://api.imagekit.io/v1/bulkJobs/moveFolder" \-H 'Content-Type: application/json' \-u your_private_key: -d '{"sourceFolderPath" : "/folder/to/move","destinationPath" : "/folder/to/move/into/"}'