---
title: "Delete a vault secret"
method: DELETE
path: "/vapi/project/{projectId}/secrets/{name}"
tags: ["Vault"]
---

# Delete a vault secret

`DELETE /vapi/project/{projectId}/secrets/{name}`

## Request

- Base URL: `https://api.websitepublisher.ai`
- URL: `https://api.websitepublisher.ai/vapi/project/{projectId}/secrets/{name}`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.websitepublisher.ai/dapi/oauth/authorize`, token URL `https://api.websitepublisher.ai/dapi/oauth/token`, scopes: `read`, `write`)

Permanently delete a secret. The encrypted value is destroyed. Cannot be undone.

## Path parameters

- `projectId` integer, required
- `name` string, required

## Response `200`

Deleted

## Other responses

- `404`: Secret not found

---

[API](https://skmtc.dev/websitepublisher/apis/websitepublisher-ai-api.md) · [All operations](https://skmtc.dev/websitepublisher/apis/websitepublisher-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/websitepublisher/apis/websitepublisher-ai-api/revisions/e9df1ef10551?raw)
