---
title: "Unlink or delete a file from s3"
method: DELETE
path: "/v2/files/unlink"
tags: ["Files", "V2"]
---

# Unlink or delete a file from s3

`DELETE /v2/files/unlink`

## Request

- Base URL: `http://0.0.0.0:3001/api`
- URL: `http://0.0.0.0:3001/api/v2/files/unlink`
- Auth: none declared

## Request body

- object
  - `fileId` string, required: File name only in `folder/filename.ext` format

## Response `200`

Default Response

---

[API](https://skmtc.dev/storybee/apis/story-bee.md) - [All operations](https://skmtc.dev/storybee/apis/story-bee/llms.txt) - [OpenAPI document](https://skmtc.dev/storybee/apis/story-bee/revisions/d1d0477803c6?raw)
