This article is about utilization details of the invalidation process on API. You can follow the steps below:
1. When you open any distribution page on Merlin Panel, inside the URL, you can find the organization id, workspace id, and distribution id in this specific order. You will need the distribution id info for this exact tutorial.
For example, if the URL on the search bar when you open a distribution’s page:
https://app.merlincdn.com/1/13/distributions/56
Then,
the organization id is 1,
the workspace id is 13,
and the distribution id is 56.
2. You need to define the URL pattern in the path area in order to execute the invalidation process.
3. The request should be delivered as:
curl --location --request GET 'https://apis.merlincdn.com/v1/cdn/distributions/{Distribution id}/cache-invalidations'
Check out this article for more detailed information on invalidation or how to do it on Merlin Panel.
Comments
Please sign in to leave a comment.