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

Autorisierungen

Authorization
string
header
erforderlich

JWT-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.

Antwort

Cache invalidated successfully.

contractCacheInvalidated
boolean

Indicates if the contract cache was invalidated.

customerCacheInvalidated
boolean

Indicates if the customer cache was invalidated.