---
title: "DELETE /v1/orgs/{orgId}/secrets/{secretId}"
method: DELETE
path: "/v1/orgs/{orgId}/secrets/{secretId}"
tags: ["Orgs", "Secrets"]
---

# DELETE /v1/orgs/{orgId}/secrets/{secretId}

`DELETE /v1/orgs/{orgId}/secrets/{secretId}`

## Request

- Base URL: `https://api.tessl.io`
- URL: `https://api.tessl.io/v1/orgs/{orgId}/secrets/{secretId}`
- Auth: none declared

Deletes an organization secret. A secret an environment still references is refused with 409; remove the references first.

## Path parameters

- `orgId` string, uuid, required
- `secretId` string, uuid, required

## Headers

- `Authorization` string

## Response `204`

Default Response

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

## Changes

- **2026-10-21** `a388ee77a37c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tessl/apis/tessl-api/changes/v1/orgs/:orgId/secrets/:secretId/delete.md)

---

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