---
title: "Delete a file in the given path"
method: DELETE
path: "/api/contents/{path}"
tags: ["contents"]
---

# Delete a file in the given path

`DELETE /api/contents/{path}`

## Path parameters

- `path` string, required

## Response `204`

File deleted

## Changes

- **2026-07-17** `b6f1ce06c896` — 1 breaking
  - added the new path request parameter `path`
- **2025-12-10** `e9ae9d653401` — 1 warning
  - deleted the `path` request parameter `path`

[Change history](https://skmtc.dev/google/apis/jupyter-server-api/changes/api/contents/:path/delete.md)

---

[API](https://skmtc.dev/google/apis/jupyter-server-api.md) · [All operations](https://skmtc.dev/google/apis/jupyter-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/jupyter-server-api/revisions/b6f1ce06c896/schema)
