We accelerate websites

15 days free trial Sign up

Media Acceleration Stream to the world

15 days free trial Sign up

Extensive Network Excellent world coverage

Purge CDN service content

URI

https://cdnsun.com/api/cdns/ID/purge

Method

POST

Curl example

curl -i -X POST -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID/purge' -d '{"purge_paths":["\/images\/image.jpeg","\/images\/image2.jpeg"]}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service id.5
purge_paths*arrayArray of (string) paths to purge.[/images/image.jpeg, /images/image2.jpeg]
 
  _____      ___      ______     ___    
 / ____||   / _ \\   /_   _//   / _ \\  
/ //---`'  | / \ ||    | ||    / //\ \\ 
\ \\___    | \_/ ||   _| ||   |  ___  ||
 \_____||   \___//   /__//    |_||  |_||
  `----`    `---`    `--`     `-`   `-` 
                                        
Europe
  • Amsterdam
  • Athens
  • Baku
  • Bucharest
  • Budapest
  • Chelyabinsk
  • Copenhagen
  • Dubai
  • Dublin
  • Helsinki
  • Istanbul
  • Karlskrona
  • Khabarovsk
  • Kharkov
  • Kiev
  • Kungalv
  • Lisbon
  • Madrid
  • Milan
  • Moscow
  • Odessa
  • Oslo
  • Paris
  • Polevskoy
  • Rostov-on-Don
  • Stockholm
  • Tel Aviv-Yafo
  • Trondheim
America
  • Arlington
  • Atlanta
  • Chicago
  • Dallas
  • Denver
  • Green Bay
  • Los Angeles
  • Miami
  • Montreal
  • New York
  • Phoenix
  • Portland
  • Provo
  • Queretaro
  • Reston
  • Sacramento
  • San Jose
  • Sao Paulo
  • Seattle
  • Toronto
  • Washington
Contact
  • e-mail: info@cdnsun.com
  • skype: cdnsun.com
  • phone: +1 844 300 9206
  • phone: +420 776 256 872
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest