We have deprecated our old endpoint https://www.gumlet.com/api/purge/:subdoamin
["/public/images/profile1.jpg", "/public/images/profile2.jpg"]
{success: true}
Example cURL request is given below.
curl -X POST -H 'Authorization:Bearer <your_api_key>' -H 'Content-Type: application/json' -d '{"paths": ["/public/images/profile.jpg"]}' https://api.gumlet.com/v1/purge/myimg
Any other response means the cache purge was unsuccessful and the server will return error message along with the reason for the same.