---
title: "Delete Changesets"
method: DELETE
path: "/spaces/{spaceId}/changesets"
tags: ["Manage Changesets"]
---

# Delete Changesets

`DELETE /spaces/{spaceId}/changesets`

Deletes one or more Changesets which are older than the specified version. The query parameter "version" must be an integer, bigger than 0 and the comparator must be one of the below list:
  - <
  - =lt=


Example: To remove changesets older than version number 10, a DELETE /spaces/{spaceId}/changesets?version=lt=10 could be executed.

The service will begin the process to remove the versions from version 9 until the version 0. During the deletion process, newer versions can be created and won't be affected.

## Path parameters

- `spaceId` string, required

## Query parameters

- `version` string, required

## Response `204`

An empty response as a result of a user-request with accepted MIME type application/x-empty.

## Other responses

- `401` — Unauthorized to perform the request.
- `403` — Forbidden request. Insufficient rights to perform the request.
- `404` — Not found.

---

[API](https://skmtc.net/here/apis/here-xyz-hub.md) · [All operations](https://skmtc.net/here/apis/here-xyz-hub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/here-xyz-hub/revisions/1c6c6a2bcac9/schema)
