This page describes how to trigger a static invalidation programmatically. If you want to invalidate manually, you can use the invalidation user interface available in insight. Click here to see the description.

The static invalidation endpoint is secured and must be called as a POST. Click here to see how you can authenticate.

The following is the Invalidation API URL :

POST https://hubprop.marfeel.com/hub/mds/{TENANT_NAME}/{MARFEEL_NAME}/statics?uri={URI}&action=invalidate
CODE

Parameters

https://hubprop.marfeel.com/ or https://hubblgp.marfeel.com/

This field depends on the Marfeel domain the partner is on. 

For publishers on the bc.marfeelcache.com domain, this parameter should be: hubprop.marfeel.com

For publishers on the b.marfeelcache.com domain, this parameter should be: hubblgp.marfeel.com

{TENANT_NAME}

 The partner's domain and directory. For example, www.marfeel.com.

{MARFEEL_NAME}

Default one is "index".

Sometimes it might be custom. Common examples include language or country codes that identify the different versions a publication is offered in.

For example, /en, /es, /us, /uk.

?invalidate=2

To invalidate an article, publishers should use invalidate=2.

uri=www.domain.com/articlepath

This parameter defines the article path for the article to be invalidated. 

The {URI} must also match the exact location where the article or section will be published to.

Invalidate article details examples for customers in bc.marfeel.com

POST https://hubprop.marfeel.com/hub/mds/www.domain.com/index/statics?uri=http://www.domain.com/news/politics/image.jpg&action=invalidate
CODE
POST https://hubprop.marfeel.com/hub/mds/www.domain.com/es/statics?uri=uri=http://www.domain.com/en/news/image.jpg&action=invalidate
CODE

Invalidate article details examples for customers in b.marfeel.com

POST https://hubblgp.marfeel.com/hub/mds/www.domain.com/index/statics?uri=http://www.domain.com/news/politics/image.jpg&action=invalidate
CODE
POST https://hubblgp.marfeel.com/hub/mds/www.domain.com/index/statics?uri=http://www.domain.com/news/politics/image.jpg&action=invalidate
CODE