---
title: "Rotate a screen's recovery code"
method: POST
path: "/v1/screens/{id}/kiosk-recovery/rotate"
tags: ["screens"]
---

# Rotate a screen's recovery code

`POST /v1/screens/{id}/kiosk-recovery/rotate`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/screens/{id}/kiosk-recovery/rotate`
- Auth: HTTP bearer

Generate a new offline recovery code for a screen with Screen Lock enabled. The previous code stops working immediately. This action is recorded in the activity log.

## Path parameters

- `id` string, required

## Response `200`

Success.

- object
  - `data` object, required
    - `code` string, required: The new Screen Lock recovery code.

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
