---
title: "Delete a never-activated DRAFT version"
method: DELETE
path: "/redaction/policies/{name}/versions/{version}"
tags: ["redaction-policies"]
---

# Delete a never-activated DRAFT version

`DELETE /redaction/policies/{name}/versions/{version}`

## Request

- Base URL: `https://developer.qaip.com/api/v1`
- URL: `https://developer.qaip.com/api/v1/redaction/policies/{name}/versions/{version}`
- Auth: API key in header `x-api-key`

Hard-deletes only a DRAFT that has never been ACTIVE. Required scope: `policy:redaction:manage`.

## Response `204`

DRAFT deleted

## Other responses

- `400`: Bad Request - policy schema, normalization, size, quota, cursor, or path validation failed
- `401`: Unauthorized - Authentication failed
- `403`: Forbidden - requires an API key with the `policy:redaction:manage` scope; Dashboard bearer authentication is rejected
- `404`: Not Found - name/version is unknown, inactive where required, or belongs to another tenant
- `409`: Conflict - DRAFT, immutable built-in, delete, unchanged version, or ACTIVE CAS conflict
- `502`: The application proxy could not obtain an upstream response before forwarding response headers. The error code is unavailable and retryable is false: upstream side effects may have completed, so a 502 alone does not make retrying safe. Check the operation's idempotency and recovery contract before retrying. A failure after streaming has started instead aborts the stream without appending this JSON body. CDN or load-balancer generated errors may have a different body and are not described by this response.
- `503`: Service Unavailable - tenant redaction policy store is unavailable

## Changes

- **2026-09-17** `2489c6f1a9d8`: 9 info
  - added the non-success response with the status `502`
  - added the optional property `error/code` to the response with the `401` status
  - added the optional property `error/code` to the response with the `403` status
  - added the optional property `error/details` to the response with the `401` status
  - …5 more
- **2026-08-03** `8e90404f8bf2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qlonolink/apis/qaip-apis/changes/redaction/policies/:name/versions/:version/delete.md)

---

[API](https://skmtc.dev/qlonolink/apis/qaip-apis.md) - [All operations](https://skmtc.dev/qlonolink/apis/qaip-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/qlonolink/apis/qaip-apis/revisions/2489c6f1a9d8?raw)
