---
title: "Updates the ransomware exposure values for an assessment's FAIR calculation."
method: PATCH
path: "/api/v2/companies/{id}/assessments/{assessmentId}/ransomware-exposure"
tags: ["Assessment"]
---

# Updates the ransomware exposure values for an assessment's FAIR calculation.

`PATCH /api/v2/companies/{id}/assessments/{assessmentId}/ransomware-exposure`

Updates the ransomware exposure inputs used in the FAIR risk calculation for a specific assessment. At least one field is required. Fields not provided will retain their current values.

## Path parameters

- `id` integer, required
- `assessmentId` integer, required

## Request body

- object
  - `NoOf_PII_PHI_PCI_Records` integer — Number of PII/PHI/PCI records.
  - `UnitCostOf_PII_PHI_PCI_Records` number, double — Unit cost per PII/PHI/PCI record.
  - `AvgDownTimeDays` number, double — Average downtime in days. Maximum allowed value is 9999.
  - `RevenueAtRisk` number, double — Revenue at risk.
  - `HaveInternalAccess` boolean — Whether the company has internal network access.
  - `UnitCostOf_BlackKiteCalculation` boolean — Whether to use the Black Kite calculation for PII/PHI/PCI unit cost.

## Response `200`

Assessment ransomware exposure updated successfully.

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `default` — Failure

---

[API](https://skmtc.net/blackkitetech/apis/black-kite-api.md) · [All operations](https://skmtc.net/blackkitetech/apis/black-kite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blackkitetech/black-kite-api/revisions/7dadaba760fb/schema)
