---
title: "Invalidate windows"
method: POST
path: "/success_rate.SuccessRateCalculator/InvalidateWindows"
tags: ["Success Rate"]
---

# Invalidate windows

`POST /success_rate.SuccessRateCalculator/InvalidateWindows`

Invalidates the success rate calculation windows for a specific ID

## Headers

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

## Request body

- InvalidateWindowsRequest
  - `id` string, required — Entity identifier for which to invalidate windows

## Response `200`

Windows invalidated successfully

- InvalidateWindowsResponse
  - `status` 'WINDOW_INVALIDATION_SUCCEEDED' | 'WINDOW_INVALIDATION_FAILED', required — Status of the window invalidation operation

## Other responses

- `400` — Invalid request parameters
- `500` — Internal server error

---

[API](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0.md) · [All operations](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperswitch/dynamic-routing-openapi-3-0/revisions/8fbf69ab2597/schema)
