purge

Purge cached content

Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.

post/purge

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/purge
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Request body

site_idstring
site_slugstring
cache_tagsstring[]

Response

Accepted. The purge is queued and propagates across the CDN asynchronously. The response has no body and there is no status resource to poll for completion.

Changes

No recorded changes to this operation across all 65 revisions of this API.