---
title: "Delete a Playwright executor"
method: DELETE
path: "/browsers/{id_or_name}/playwright/executors/{name}"
tags: ["Browser Playwright"]
---

# Delete a Playwright executor

`DELETE /browsers/{id_or_name}/playwright/executors/{name}`

## Request

- Base URL: `https://api.onkernel.com`
- URL: `https://api.onkernel.com/browsers/{id_or_name}/playwright/executors/{name}`
- Auth: HTTP bearer

Stops the executor's process. A call running on it fails with an error saying the
executor was deleted. By default the executor's tab is closed too. The name can be
reused; the next call with it creates a new executor and tab.

The default executor is restarted instead of removed: its process is stopped, a call
running on it fails with an error saying the executor was restarted, and queued and later
calls run on a new process. It owns no tab, so 'close_tab' has no effect on it.

## Path parameters

- `id_or_name` string, required
- `name` string, required: Name of a Playwright executor. Calls with the same name run in the same executor, one at a time; the first call with a new name creates it. Calls on different executors run concurrently. 'default' names the executor that runs calls without a name.

## Query parameters

- `close_tab` boolean

## Response `204`

Executor deleted

## Other responses

- `400`: Bad Request – invalid input
- `404`: Resource not found
- `500`: Internal Server Error
- `default`: Error returned by the browser or its proxy

## Changes

- **2026-10-07** `9d6785128a5e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onkernel/apis/kernel-api/changes/browsers/:id_or_name/playwright/executors/:name/delete.md)

---

[API](https://skmtc.dev/onkernel/apis/kernel-api.md) - [All operations](https://skmtc.dev/onkernel/apis/kernel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onkernel/apis/kernel-api/revisions/0f6cf4f58fe6?raw)
