---
title: "Classify power interruption"
method: PUT
path: "/api/v1/organizations/{organizationId}/locks/{lockId}/classify-power-interruption"
tags: ["/organizations/{organizationId}/locks"]
---

# Classify power interruption

`PUT /api/v1/organizations/{organizationId}/locks/{lockId}/classify-power-interruption`

## Path parameters

- `organizationId` integer, required
- `lockId` integer, required

## Request body

- ClassifyPowerInterruptionOptions
  - `eventId` integer
  - `powerInterruptionReason` 0 | 1 | 2 — 0 = Unknown, 1 = BatteryChanged, 2 = BatteryReinserted

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.dev/kleverkey/apis/kleverkey-api.md) · [All operations](https://skmtc.dev/kleverkey/apis/kleverkey-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kleverkey/apis/kleverkey-api/revisions/8f42418bd579?raw)
