---
title: "Changes to Deletes all files and versions for the specified workspace."
method: DELETE
path: "/workspaces/{workspaceId}/files"
---

# Changes to Deletes all files and versions for the specified workspace.

`DELETE /workspaces/{workspaceId}/files`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 15 revisions.

- **2026-09-20** `5332322ffca3`: 4 info
- **2026-09-17** `1556e0487867`: 1 warning, 1 info
- **2026-09-12** `8e46cf415581`: 1 info

## Changes

- **2026-09-20** `5332322ffca3`: 4 info
  - api operation id `workspaceFiles_DeleteWorkspaceFiles` removed and replaced with `workspaceFiles_DeleteFilesByWorkspaceNameAndWorkspaceId`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
- **2026-09-17** `1556e0487867`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `oauth2` was added to the API
- **2026-09-12** `8e46cf415581`: 1 info
  - api operation id `DeleteWorkspaceFiles` removed and replaced with `workspaceFiles_DeleteWorkspaceFiles`

---

[Operation](https://skmtc.dev/awork-io/apis/api-v1-reference/docs/workspaces/:workspaceId/files/delete.md) · [API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [Page](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/workspaces/:workspaceId/files/delete)
