---
title: "Delete a file revision"
method: DELETE
path: "/files/{fileId}/revisions/{revisionId}"
tags: ["File Revisions"]
---

# Delete a file revision

`DELETE /files/{fileId}/revisions/{revisionId}`

## Request

- Base URL: `https://public-api.process.st/api/v1.1`
- URL: `https://public-api.process.st/api/v1.1/files/{fileId}/revisions/{revisionId}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Discards your draft changes and keeps the published document as it is. You cannot delete published or earlier versions with this endpoint.

## Path parameters

- `fileId` string, required
- `revisionId` string, required

## Response `204`

## Other responses

- `default`

## Changes

- **2026-10-30** `5f56e80f02f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/process/apis/process-street-public-api/changes/files/:fileId/revisions/:revisionId/delete.md)

---

[API](https://skmtc.dev/process/apis/process-street-public-api.md) - [All operations](https://skmtc.dev/process/apis/process-street-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/process/apis/process-street-public-api/revisions/78ea0b3f3b40?raw)
