Remove AITags (bulk)
post
https://api.imagekit.io
/v1/files/removeAITags
Remove AITags in bulk API

Response structure and status code

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 an array of successfully updated fileIds.

Examples

Here is an example request to understand the API usage.
cURL
1
curl -X POST "https://api.imagekit.io/v1/files/removeAITags" \
2
-H 'Content-Type: application/json' \
3
-u your_private_key: -d '
4
{
5
"fileIds" : [
6
"5e21880d5efe355febd4bccd",
7
"5e1c13c1c55ec3437c451403",
8
"5f4abf6fae77ae7f0acda3d1",
9
"5f207bd1bd2741182ceadd55"
10
],
11
"AITags" : [
12
"ai-tag-to-remove-1",
13
"ai-tag-to-remove-2"
14
]
15
}
16
'
Copied!
Last modified 21d ago