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

# Delete secret

> Delete a specific secret by its ID



## OpenAPI

````yaml delete /api/orchestration/fabric/{fabricId}/secret/id/{secretId}
openapi: 3.0.3
info:
  title: Prophecy Secrets API
  description: API for managing Prophecy secrets
  version: 1.0.0
servers: []
security: []
paths:
  /api/orchestration/fabric/{fabricId}/secret/id/{secretId}:
    parameters:
      - name: fabricId
        in: path
        description: The unique ID of the parent fabric
        required: true
        schema:
          type: string
      - name: secretId
        in: path
        description: The unique ID of the secret
        required: true
        schema:
          type: string
    delete:
      tags:
        - Secrets
      summary: Delete secret
      description: Delete a specific secret by its ID
      operationId: deleteSecret
      parameters:
        - $ref: '#/components/parameters/X-AUTH-TOKEN'
      responses:
        '200':
          description: Secret deleted successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                properties:
                  success:
                    type: boolean
                    description: Indicates the request was successful.
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The unique identifier for the deleted secret.
                    description: Response data containing the secret ID.
              example:
                success: true
                data:
                  id: '4656'
components:
  parameters:
    X-AUTH-TOKEN:
      name: X-AUTH-TOKEN
      in: header
      description: Prophecy authentication token. Required for all API requests.
      required: true
      schema:
        type: string

````