---
title: "Delete File"
method: DELETE
path: "/storage-providers/space/{space_id}/files/{provider_path}"
tags: ["storage-providers"]
---

# Delete File

`DELETE /storage-providers/space/{space_id}/files/{provider_path}`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/storage-providers/space/{space_id}/files/{provider_path}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Delete a file using the space's connected storage provider.

## Path parameters

- `space_id` string, uuid, required
- `provider_path` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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