POST
/
customer
/
invalidateCache
Invalidate cache for a contract or customer
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
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/x-www-form-urlencoded

Contract or Customer ID to invalidate cache for.

contractId
string | null

The ID of the contract to invalidate cache for.

customerId
string | null

The ID of the customer to invalidate cache for.

Response

Cache invalidated successfully.

contractCacheInvalidated
boolean

Indicates if the contract cache was invalidated.

customerCacheInvalidated
boolean

Indicates if the customer cache was invalidated.