---
title: "Remove my context from future reuse"
method: DELETE
path: "/api/me/resources/{id}"
---

# Remove my context from future reuse

`DELETE /api/me/resources/{id}`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/me/resources/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

## Path parameters

- `id` string, required

## Response `200`

Private member data. Responses use Cache-Control: private, no-store.

- ResourceDeletion
  - `retainedForTasks` boolean, required

## Other responses

- `400`: Invalid input.
- `401`: Sign in. Capture tokens do not grant access to context.
- `404`: Context or task creation is missing, removed, or owned by another member.
- `409`: The revision, context version, quota, or task state changed. Refresh before retrying.
- `503`: Storage or automatic processing is unavailable. Originals remain private.

---

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