This endpoint invalidates the cache for a given contract or customer by their IDs.
curl --request POST \
--url https://demo.enneo.ai/api/mind/customer/invalidateCache \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data contractId=1234 \
--data customerId=5678
{
"contractCacheInvalidated": true,
"customerCacheInvalidated": true
}
Cookie-based authentication
Contract or Customer ID to invalidate cache for.
The body is of type object
.
Cache invalidated successfully.
The response is of type object
.
curl --request POST \
--url https://demo.enneo.ai/api/mind/customer/invalidateCache \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data contractId=1234 \
--data customerId=5678
{
"contractCacheInvalidated": true,
"customerCacheInvalidated": true
}