---
title: "Delete Item"
method: DELETE
path: "/drive/items/{item_ref}"
tags: ["drive"]
---

# Delete Item

`DELETE /drive/items/{item_ref}`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/drive/items/{item_ref}`
- Auth: HTTP bearer

Soft-delete a folder, canvas, or file — the app's own delete paths.

Folder deletes cascade (recursive) exactly like the app: contained
canvases/files/websites soft-delete, live sites unpublish. Canvas deletes
run the shared template-governance rule. Brand-kit managed content is
protected where the app protects it.

## Path parameters

- `item_ref` string, required

## Query parameters

- `recursive` boolean: Folders only: also delete every subfolder, canvas, file, and website inside. A non-empty folder without this is a 409 ``folder_not_empty``.

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/drive/items/:item_ref/delete.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
