---
title: "Removes a kernel from the local file system."
method: POST
path: "/kernels/{id}/remove"
tags: ["Kernel"]
---

# Removes a kernel from the local file system.

`POST /kernels/{id}/remove`

## Request

- Base URL: `http://localhost:5050`
- URL: `http://localhost:5050/kernels/{id}/remove`
- Auth: none declared
- TypeScript: <https://skmtc.dev/kameleo-io/apis/kameleo-local-api/docs/kernels/:id/remove/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- KernelResponse
  - `id` string, uuid, required: Unique identifier of the kernel.
  - `platform` string, required: The operating system this kernel supports (e.g: win-x64, osx-arm64).
  - `browser` string, required: The browser this kernel contains (e.g: chroma, junglefox).
  - `version` string, required: Version of the browser.
  - `builtAt` string, date-time, required: Build timestamp of the kernel.
  - `downloadSize` integer, required: Size of the download package in bytes.
  - `diskSize` integer, nullable: Size of the extracted package on the local file system in bytes or null if the kernel is not installed.
  - `isInstalled` boolean, required: Flag indicating if the kernel is locally available (true) or it has to be installed before usage (false).
  - `isInUse` boolean, required: Flag indicating if the kernel is currently in use.
  - `isMarkedForRemoval` boolean, required: Flag indicating that the kernel will be removed from the local file system when it is not in use.

## Other responses

- `400`: Bad Request
- `404`: The kernel is not found
- `409`: The kernel can't be removed because it is currently in use, but it was marked for deletion

---

[API](https://skmtc.dev/kameleo-io/apis/kameleo-local-api.md) - [All operations](https://skmtc.dev/kameleo-io/apis/kameleo-local-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kameleo-io/apis/kameleo-local-api/revisions/d3225562612a?raw)
