---
title: "Delete the specified resource version"
method: DELETE
path: "/resource-versions/{id}/"
tags: ["Resource versions"]
---

# Delete the specified resource version

`DELETE /resource-versions/{id}/`

Delete the specified resource version. Defaults to soft deletion.

## Query parameters

- `hard_delete` boolean
- `reason` string

## Response `200`

OK

- object
  - `success` boolean

## Other responses

- `default` — Error

## Changes

- **2026-03-18** `e271d0e41f6d` — 1 breaking, 1 warning, 5 info
  - the `success` response's property type/format changed from `string`/`` to `boolean`/`` for status `200`
  - deleted the `path` request parameter `id`
  - api operation id `delete_resource_versions_id_` removed and replaced with `deleteResourceVersionsId`
  - the endpoint scheme security `XF-Api-Key` was added to the API
  - …3 more
- **2026-03-06** `0f490cfb7931` — 5 info
  - api tag `Resource versions` added
  - api tag `resource-versions` removed
  - added the new optional `query` request parameter `hard_delete`
  - added the new optional `query` request parameter `reason`
  - …1 more
- **2026-02-05** `488d42c463a9` — 1 info
  - endpoint added
- **2026-02-03** `fc0a40f3b859` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/xenforo-ltd/apis/xenforo-api/changes/resource-versions/:id/delete.md)

---

[API](https://skmtc.dev/xenforo-ltd/apis/xenforo-api.md) · [All operations](https://skmtc.dev/xenforo-ltd/apis/xenforo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xenforo-ltd/xenforo-api/revisions/b15eba33657a/schema)
