---
title: "Locks/unlocks the facility for reporting performance data for the specified target period year"
method: PUT
path: "/v1.0/facilities/{facilityId}/performance-data-report/lock"
tags: ["Target Period Performance Data Report of the Facility"]
---

# Locks/unlocks the facility for reporting performance data for the specified target period year

`PUT /v1.0/facilities/{facilityId}/performance-data-report/lock`

## Path parameters

- `facilityId` integer, required

## Request body

- FacilityPerformanceDataUpdateLockDTO
  - `locked` boolean, required
  - `targetPeriodType` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9', required
  - `targetPeriodYear` integer, required

## Response `204`

No Content

- FacilityPerformanceDataUpdateLockDTO
  - `locked` boolean, required
  - `targetPeriodType` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9', required
  - `targetPeriodYear` integer, required

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/beis/apis/api-documentation.md) · [All operations](https://skmtc.net/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/api-documentation/versions/f5f4d893b86b/schema)
