---
title: "DeleteSecretVariant"
method: POST
path: "/depot.ci.v3beta2.SecretService/DeleteSecretVariant"
tags: ["SecretService"]
---

# DeleteSecretVariant

`POST /depot.ci.v3beta2.SecretService/DeleteSecretVariant`

## Request

- Base URL: `https://api.depot.dev`
- URL: `https://api.depot.dev/depot.ci.v3beta2.SecretService/DeleteSecretVariant`
- Auth: HTTP bearer

## Headers

- `Connect-Protocol-Version` 1, required: Define the version of the Connect protocol
- `Connect-Timeout-Ms` number: Define the timeout, in ms

## Request body

- DepotCiV3beta2DeleteSecretVariantRequest
  - `variantId` string, required

## Response `200`

Success

- DepotCiV3beta2DeleteSecretVariantResponse
  - `deletedSecret` boolean

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/depot/apis/depot-ci-api.md) - [All operations](https://skmtc.dev/depot/apis/depot-ci-api/llms.txt) - [OpenAPI document](https://skmtc.dev/depot/apis/depot-ci-api/revisions/6cf759b535b4?raw)
