---
title: "Restore stock"
method: POST
path: "/api/v1/upgrade/restore-stock"
tags: ["Upgrade"]
---

# Restore stock

`POST /api/v1/upgrade/restore-stock`

Uninstalls BraiinsOS and restores the miner to its original stock firmware. After initial checks pass, the response is returned and the restoration continues in the background. The device will become unreachable as the process proceeds. Not supported on all platforms (e.g. BMM) or SD card installations.

## Response `204`

Successful response.

## Other responses

- `409` — Another system task is already in progress.
- `500` — Internal server error.
- `501` — Uninstall is not supported on this platform.

---

[API](https://skmtc.net/256foundation/apis/braiins-os-public-rest-api.md) · [All operations](https://skmtc.net/256foundation/apis/braiins-os-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/256foundation/braiins-os-public-rest-api/revisions/d341c8e1d506/schema)
