---
title: "Dismiss the \"store as secret\" suggestion for a regular variable"
method: DELETE
path: "/projects/{project_id}/env-vars/{var_id}/secret-suggestion"
tags: ["Projects"]
---

# Dismiss the "store as secret" suggestion for a regular variable

`DELETE /projects/{project_id}/env-vars/{var_id}/secret-suggestion`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/env-vars/{var_id}/secret-suggestion`
- Auth: HTTP bearer

Records that the variable's current value is not a credential. The
suggestion comes back if the value changes.

## Path parameters

- `project_id` integer, required
- `var_id` integer, required

## Response `204`

Suggestion dismissed

## Other responses

- `400`: The variable is already a secret
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Project or variable not found
- `500`: Internal server error

## Changes

- **2026-11-01** `d73a147552a5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/env-vars/:var_id/secret-suggestion/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
