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

# Delete a template

> Delete the stored template at ``path``.

Idempotent: an already-absent path is a no-op success (the store treats a
missing template as a no-op rather than raising), so this returns ``200``.



## OpenAPI

````yaml /openapi.json post /api/delete-template
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.1.1
servers: []
security: []
paths:
  /api/delete-template:
    post:
      tags:
        - templates
      summary: Delete a template
      description: >-
        Delete the stored template at ``path``.


        Idempotent: an already-absent path is a no-op success (the store treats
        a

        missing template as a no-op rather than raising), so this returns
        ``200``.
      operationId: post_api_delete_template
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TemplateDelete'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TemplateDelete:
      description: Delete the template at ``path``.
      properties:
        path:
          title: Path
          type: string
      required:
        - path
      title: TemplateDelete
      type: object
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````