This page describes how to trigger an article 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 article 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 for article details:

POST https://hublivep.marfeel.com/hub/item/{TENANT_NAME}/{MARFEEL_NAME}/item.json?invalidate=2&uri={URI}
CODE

Parameters

https://hublivep.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://hublivep.marfeel.com/hub/item/www.domain.com/index/item.json?invalidate=2&uri=http://www.domain.com/news/politics/election-process-casts-doubts-1234567
CODE
POST https://hublivep.marfeel.com/hub/item/www.domain.com/es/item.json?invalidate=2&uri=http://www.domain.com/en/news/champions-league-draw-654321
CODE

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

POST https://hublivep.marfeel.com/hub/item/www.domain.com/index/item.json?invalidate=2&uri=http://www.domain.com/news/politics/election-process-casts-doubts-1234567
CODE
POST https://hublivep.marfeel.com/hub/item/www.domain.com/es/item.json?invalidate=2&uri=http://www.domain.com/en/news/champions-league-draw-654321
CODE