Skip to main content
POST
/
success_rate.SuccessRateCalculator
/
InvalidateWindows
Invalidate windows
curl --request POST \
  --url https://api.example.com/success_rate.SuccessRateCalculator/InvalidateWindows \
  --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"
}
'
{
  "status": "WINDOW_INVALIDATION_SUCCEEDED"
}

Headers

x-tenant-id
string
required
x-profile-id
string
required
x-api-key
string
required

Body

application/json
id
string
required

Entity identifier for which to invalidate windows

Example:

"merchant1"

Response

Windows invalidated successfully

status
enum<string>
required

Status of the window invalidation operation

Available options:
WINDOW_INVALIDATION_SUCCEEDED,
WINDOW_INVALIDATION_FAILED