---
title: "Trash Sharepoint Items"
method: POST
path: "/v1/matters/{matter_id}/memory/upload-paths/trash"
tags: ["memory-uploads"]
---

# Trash Sharepoint Items

`POST /v1/matters/{matter_id}/memory/upload-paths/trash`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/matters/{matter_id}/memory/upload-paths/trash`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- TrashSharePointItems
  - `items` SharePointItemTarget[], required
    - `item_id` string, uuid, required
    - `item_kind` string, required
    - `source_path` string, required

## Response `200`

Successful Response

- TrashSharePointItemsResult
  - `failed_item_ids` string[], required
  - `trashed_item_ids` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/a5849ac366ca?raw)
