Skip to main content
POST
/
contract_routing.ContractScoreCalculator
/
InvalidateContract
Invalidate contract information for an entity
curl --request POST \
  --url https://api.example.com/contract_routing.ContractScoreCalculator/InvalidateContract \
  --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": "CONTRACT_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 to invalidate

Example:

"merchant1"

Response

Contract invalidation succeeded

status
enum<string>
required

Status of the invalidation operation

Available options:
CONTRACT_INVALIDATION_SUCCEEDED,
CONTRACT_INVALIDATION_FAILED