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

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

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

## Request

- Base URL: `https://app.blackkitetech.com`
- URL: `https://app.blackkitetech.com/api/v2/companies/{id}/assessments/{assessmentId}/databreach-exposure`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.blackkitetech.com//api/v2/oauth/token`
- TypeScript: <https://skmtc.dev/blackkitetech/apis/black-kite-api/docs/api/v2/companies/:id/assessments/:assessmentId/databreach-exposure/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates the data breach 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.
  - `UnitCostOf_BlackKiteCalculation` boolean: Whether to use the Black Kite calculation for PII/PHI/PCI unit cost.
  - `NoOfNon_PII_PHI_PCI_Records` number, double: Number of non-PII/PHI/PCI records.
  - `UnitCostOfNon_PII_PHI_PCI_Records` number, double: Unit cost per non-PII/PHI/PCI record.
  - `HaveInternalAccess` boolean: Whether the company has internal network access.

## Response `200`

Assessment data breach exposure updated successfully.

## Other responses

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

---

[API](https://skmtc.dev/blackkitetech/apis/black-kite-api.md) - [All operations](https://skmtc.dev/blackkitetech/apis/black-kite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blackkitetech/apis/black-kite-api/revisions/0950b35c0e4a?raw)
