---
title: "Invalidate contract information for an entity"
method: POST
path: "/contract_routing.ContractScoreCalculator/InvalidateContract"
tags: ["Contract Routing"]
---

# Invalidate contract information for an entity

`POST /contract_routing.ContractScoreCalculator/InvalidateContract`

Invalidates the contract for a given entity identifier

## Headers

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

## Request body

- InvalidateContractRequest
  - `id` string, required — Entity identifier to invalidate

## Response `200`

Contract invalidation succeeded

- InvalidateContractResponse
  - `status` 'CONTRACT_INVALIDATION_SUCCEEDED' | 'CONTRACT_INVALIDATION_FAILED', required — Status of the 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)
