Remove tags from files
Remove tags from files
POST https://api.imagemash.io/v1/storage/deleteFiles
Headers
Name
Type
Description
apikey*
Your API Key
Request Body
Name
Type
Description
filePaths*
Array
Array of filePaths. Eg. /jeep.png or /cars/jeep.png
tags*
Array
Array of tags to be removed. Each tag will be removed from every file that filePaths contains. Eg. car, jeep
{
"successCount": 1,
"modifiedCount": 0,
"erroredCount": 2,
"erroredFiles": [
"/Asset 1.png",
"/Asset 2.png"
]
}{
msg: "error details"
details: "..."
} // Explanation of error{
// Please contact support if you are getting this error constantly.
}Example Codes
Last updated