---
title: "Delete File or Directory"
method: POST
path: "/api/manageGame/delete"
tags: ["Manage Game"]
---

# Delete File or Directory

`POST /api/manageGame/delete`

## Request body

- DeleteDto
  - `gameName` string, required — The source path of the file or directory to be deleted

## Response `200`

Successfully deleted the file or directory.

## Other responses

- `400` — Failed to delete the file or directory.

---

[API](https://skmtc.net/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.net/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/versions/ebcacb42f932/schema)
