---
title: "DELETE /resource/{resourceId}"
method: DELETE
path: "/resource/{resourceId}"
tags: ["deleteResource"]
---

# DELETE /resource/{resourceId}

`DELETE /resource/{resourceId}`

Delete a resource from trash

## Path parameters

- `resourceId` string, required

## Headers

- `cookie` string
- `If-Match` string

## Response `200`

success

## Other responses

- `403` — FORBIDDEN, Deletion not allowed
- `409` — CONFLICT, Resource already exists in trash
- `412` — PRECONDITION FAILED, non-matching Etag of 'If-Match' Header

---

[API](https://skmtc.net/iterate-ch/apis/restfs.md) · [All operations](https://skmtc.net/iterate-ch/apis/restfs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iterate-ch/restfs/revisions/517e17452ca3/schema)
