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

# Delete Specific Secret From Set

> Delete a specific secret from a set by its key. This operation removes the key-value pair from the specified secret set.



## OpenAPI

````yaml DELETE /secrets/{setName}/{secretKey}
openapi: 3.0.0
info:
  title: Pipecat Cloud - Delete Secret Key
  version: 1.0.0
  description: Delete a specific secret key from a secret set via Pipecat Cloud Private API
servers:
  - url: https://api.pipecat.daily.co/v1
    description: API server
security:
  - PrivateKeyAuth: []
paths:
  /secrets/{setName}/{secretKey}:
    delete:
      summary: Delete a specific secret from a set
      description: >-
        Remove a specific secret key from a secret set. Cannot be used with
        image pull secrets.
      operationId: deleteSecretFromSet
      parameters:
        - name: setName
          in: path
          required: true
          description: Name of the secret set
          schema:
            type: string
            pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
            minLength: 3
            maxLength: 63
        - name: secretKey
          in: path
          required: true
          description: Name of the secret key to delete
          schema:
            type: string
      responses:
        '200':
          description: Secret successfully deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - OK
              example:
                status: OK
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Unauthorized
                code: UNAUTHORIZED
        '404':
          description: Secret not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Secret not found
                code: NOT_FOUND
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - PrivateKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
  securitySchemes:
    PrivateKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Authentication requires a Pipecat Cloud Private API token.


        Generate a Private API key from your Dashboard (Settings > API Keys >
        Private > Create key) and include it as a Bearer token in the
        Authorization header.

````