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

# Delete a vault secret key

> Remove a key from a vault KV v2 path. If the last key is removed, the entire path is deleted. Admin only.




## OpenAPI

````yaml /openapi.yaml delete /admin/secrets/kv
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /admin/secrets/kv:
    delete:
      summary: Delete a vault secret key
      description: >
        Remove a key from a vault KV v2 path. If the last key is removed, the
        entire path is deleted. Admin only.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - path
                - key
              properties:
                path:
                  type: string
                  description: Vault path (e.g. secret/shared/database)
                key:
                  type: string
                  description: Secret key name to delete
      responses:
        '200':
          description: Secret deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  path:
                    type: string
                  key:
                    type: string
        '400':
          description: Missing required fields
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role
        '502':
          description: Vault delete failed
        '503':
          description: Vault token not configured
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````