Cloudfront CDN cache invalidation

Invalidate an asset’s CloudFront CDN cache to quickly update or remove the public embed links

Get CloudFront distribution information

  1. In the Orange Logic interface, go to Administration > CDN settings.
  2. Click the View button of the CDN whose cache you want to invalidate.
“CDN settings” in Administration - some text intentionally blurred

“CDN settings” in Administration - some text intentionally blurred

  1. Note the information for the API call:
    1. Access key (IAM credentials only)
    2. Distribution domain name
    3. API ID
“CDN settings” window for a CloudFront distribution - some text intentionally blurred

“CDN settings” window for a CloudFront distribution - some text intentionally blurred

Here is an example call using sample values for each of the query parameters described in the table below.

Example
curl -X 'DELETE' \
  'https://mangovations.orangelogic.com/webapi/mediafile/storage/InvalidateCloudfrontCache_2cl_v1' \
  -H 'accept: text/plain' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
  "accessKeys": [
    "AF7AS7FB4LGHKGT"
  ],
  "identifiers": [
    "Q0LXRJFQ7"
  ],
  "cdnApiId": "g2Z0ZIRF4S1",
  "distributionDomainName": "mango-cdn.orangelogic.com"
}'

Language
Credentials
OAuth2
URL