> ## Documentation Index
> Fetch the complete documentation index at: https://www.voiceflow.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete secret

> Deletes a secret by ID, taking its project-level value and every environment override with it. The response carries only a confirmation message, so refetch the secret list to see what is left.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json delete /v1/stable/secret/{secretID}
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/secret/{secretID}:
    delete:
      tags:
        - Secret
      summary: Delete secret
      description: Deletes a secret by ID, taking its project-level value and every
        environment override with it. The response carries only a confirmation
        message, so refetch the secret list to see what is left.
      operationId: StableSecretController_delete
      parameters:
        - name: secretID
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: The ID of the secret to operate on.
          description: The ID of the secret to operate on.
        - name: projectID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the project to operate on.
      responses:
        "200":
          description: Confirms the secret was deleted. The body is a message only, so
            refetch the secret list and the override list to see it gone from
            both.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableDeleteResponse"
          x-vf-doc:
            description: Confirms the secret was deleted. The body is a message only, so
              refetch the secret list and the override list to see it gone from
              both.
      security:
        - token: []
components:
  schemas:
    StableDeleteResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable message confirming the deletion.
      required:
        - message
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
