English
cURL
curl --request POST \ --url https://demo.enneo.ai/api/mind/customer/invalidateCache \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data contractId=1234 \ --data customerId=5678
{ "contractCacheInvalidated": true, "customerCacheInvalidated": true }
This endpoint invalidates the cache for a given contract or customer by their IDs.
JWT-based authentication
Contract or Customer ID to invalidate cache for.
The ID of the contract to invalidate cache for.
The ID of the customer to invalidate cache for.
Cache invalidated successfully.
Indicates if the contract cache was invalidated.
Indicates if the customer cache was invalidated.