200
status code with the request ID returned in the JSON-encoded response body.requestId
can be used to fetch the status of the submitted purge request.https://ik.imagekit.io/IMAGEKIT_ID/PATTERN/LEVEL_1/LEVEL_2*
https://ik.imagekit.io/IMAGEKIT_ID/PATTERN/LEVEL_1*
For example, the path /images/upload*
is valid, but /images*
is not.\https://ik.imagekit.io/IMAGEKIT_ID/PATTERN/FIFTEEN_CHARACTERS*
However, if the first condition is met, i.e. the path consists of at least two levels of nesting, then it need not be 15 characters long.\https://ik.imagekit.io/IMAGEKIT_ID/PATTERN/FILE.EXT*
For example, the path /sample.jpg*
is valid, despite not being 15 characters long, or having two levels of nesting./folder/*/sample.jpg
is an invalid path.media/catalog/*
s/files/*
/folder/*/sample.jpg
is an invalid path. Please reach out to us at [email protected] if you need to purge all images on a specific pattern not supported through the API.