---
title: "Disable a specific secret version"
method: POST
path: "/v1/vaults/{vault_id}/secret-version-disable/{path}/{version}"
tags: ["Secrets"]
---

# Disable a specific secret version

`POST /v1/vaults/{vault_id}/secret-version-disable/{path}/{version}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/vaults/{vault_id}/secret-version-disable/{path}/{version}`
- Auth: HTTP bearer

Disables a version so it can no longer be read. The version is
retained for audit purposes but returns 410 on read attempts.

## Path parameters

- `vault_id` string, uuid, required
- `path` string, required
- `version` integer, required

## Response `204`

Version disabled

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
