Invalidate elimination bucket

Invalidate the elimination bucket for a given entity.

HTTP

POST /elimination.EliminationAnalyser/InvalidateBucket

cURL

curl
curl --request POST \
  --url https://api.example.com/elimination.EliminationAnalyser/InvalidateBucket \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-profile-id: <x-profile-id>' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --data '
{
  "id": "merchant1"
}
'

Example response (200)


Headers

  • x-tenant-id (string, required)

  • x-profile-id (string, required)

  • x-api-key (string, required)

Body (application/json)

  • id (string, required) — Entity identifier to invalidate the bucket Example: "merchant1"

Response (200, application/json)

Buckets invalidated successfully

  • status (enum, required) — Status of the invalidate operation. Available options:

    • BUCKET_INVALIDATION_SUCCEEDED

    • BUCKET_INVALIDATION_FAILED


  • Update elimination bucket: https://api-reference.hyperswitch.io/intelligent-router-api-reference/elimination/update-elimination-bucket

  • Fetch contract scores for an entity: https://api-reference.hyperswitch.io/intelligent-router-api-reference/contract-routing/fetch-contract-scores-for-an-entity

Edit / Report an issue

  • Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/intelligent-router-api-reference/elimination/invalidate-elimination-bucket.mdx

  • Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/intelligent-router-api-reference/elimination/invalidate-elimination-bucket