Cloudfront CDN cache invalidation

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

delete/InvalidateCloudfrontCache_2cl_v1

Request

  • Base URL
    https://OrangeLogicURL/webapi/mediafile/storage
  • URL
    https://OrangeLogicURL/webapi/mediafile/storage/InvalidateCloudfrontCache_2cl_v1
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://example.com/oauth2/token

Request body

accessKeysstring[]

Your CloudFront distribution’s access key. Either <code>accessKeys</code> or <code>identifiers</code> are required.

identifiersstring[]

The unique ID of one or more assets you’re invalidating the cache for. Either <code>accessKeys</code> or <code>identifiers</code> are required.

cdnApiIdstring

The <a href="https://developer.orangelogic.com/reference/cloudfront-cdn-cache-invalidation#get-cloudfront-distribution-information" target="_blank">API ID of the Cloudfront distribution</a> used to distribute this asset’s formats.

distributionDomainNamestring

The distribution domain name of the CloudFront distribution used to distribute this asset’s formats.

Response

200

successboolean
successAccessKeysobject[]
failedAccessKeysobject[]
errorMessagestring

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.