---
ai:
  exclude: true
search:
  tags:
    - Content Version
    - DELETE
seo:
  description: >-
    Delete a historical version of a page or… Reference for the DELETE
    /rest/api/content/{id}/version/{versionNumber} endpoint in the Confluence
    Data Center API.
sidebar:
  label: Delete content history
  badge: DELETE
title: Delete content history
type: openapi-operation
---
Delete a historical version of a page or a blogpost. Current user must have edit permission on content, or it will throw a permission exception.

`DELETE /rest/api/content/{id}/version/{versionNumber}`

**Responses**

- `204` — Returns a Successful deletion of a page/blogpost version.
- `400` — Returned if versionNumber is less than 1, does not exist or has already been deleted.
- `403` — Returned if the calling user doesn't have permission to edit the content.
- `404` — Returned if the contentId cannot be found.
