---
title: "Delete Registry Version"
method: DELETE
path: "/registry/repos/{repository_id}/versions/{version_id}"
tags: ["registry-repositories"]
---

# Delete Registry Version

`DELETE /registry/repos/{repository_id}/versions/{version_id}`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/registry/repos/{repository_id}/versions/{version_id}`
- Auth: API key in cookie `fastapiusersauth`

Delete a specific registry version.

Safety checks:
- Cannot delete the currently promoted version
- Cannot delete versions referenced by published workflow definitions

For platform registries, use the admin API.

## Path parameters

- `repository_id` string, uuid, required
- `version_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
