---
title: "Delete a previously uploaded S3 file"
method: DELETE
path: "/v1/memories/upload"
tags: ["Memories"]
---

# Delete a previously uploaded S3 file

`DELETE /v1/memories/upload`

Delete a file from S3 that was uploaded via a presigned URL.
Verifies the caller owns the file via S3 object metadata.

## Query parameters

- `s3_key` string, required — S3 key of the file to delete (returned by POST /memories/upload)

## Response `200`

Successful Response

- NebulaResultsGenericMessageResponse
  - `results` GenericMessageResponse, required
    - `id` string, nullable
    - `memory_id` string, nullable
    - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/zeroset-inc/apis/nebula-api.md) · [All operations](https://skmtc.net/zeroset-inc/apis/nebula-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zeroset-inc/nebula-api/revisions/b1da2c0bb1ae/schema)
