---
title: "Patch Secret"
method: PATCH
path: "/snapshots/{snapshot_id}/security/secrets/{secret_id}"
tags: ["security"]
---

# Patch Secret

`PATCH /snapshots/{snapshot_id}/security/secrets/{secret_id}`

Acknowledge / resolve / false-positive a secret finding (owner-only,
same rule as vulnerability status).

## Path parameters

- `snapshot_id` string, required
- `secret_id` string, required

## Request body

- SecretFindingPatch
  - `status` 'open' | 'acknowledged' | 'resolved' | 'false_positive', required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

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