---
title: "Delete secret"
method: DELETE
path: "/secrets/{name}"
tags: ["Forward"]
---

# Delete secret

`DELETE /secrets/{name}`

## Request

- Base URL: `https://forward.checkout.com`
- URL: `https://forward.checkout.com/secrets/{name}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `string` scopes: `forward`, `forward:secrets`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/secrets/:name/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently delete a secret by name.

## Path parameters

- `name` string, required

## Response `204`

Secret deleted successfully

## Other responses

- `401`: Unauthorized
- `404`: Secret not found
- `500`: Internal Error

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
