Skip to main content
POST
/
api
/
cdn-purge
Purge Image CDN URLs
curl --request POST \
  --url https://convertly.sh/api/cdn-purge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "urls": [
    "<string>"
  ]
}
'
{
  "ok": true,
  "purged": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Dashboard-generated Convertly API key. Keys currently begin with cvly_.

Body

application/json
urls
string<uri>[]
required
Required array length: 1 - 30 elements

Response

CDN URLs purged

ok
boolean
required
purged
string<uri>[]
required