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

# Delete a flow template

> Removes the template from the dialog in every workspace, as the app's delete does. Flows made from it and the flow it was saved from are untouched; saving that flow again with POST /v1/automations/templates restores it. A template already deleted is a 404. Templates are managed from Agent Studio's Templates folder: only a workspace that has it can save, change or delete them (403 elsewhere), and changes reach every workspace.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/automations/templates/{template_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/automations/templates/{template_id}:
    delete:
      tags:
        - automations
      summary: Delete a flow template
      description: >-
        Removes the template from the dialog in every workspace, as the app's
        delete does. Flows made from it and the flow it was saved from are
        untouched; saving that flow again with POST /v1/automations/templates
        restores it. A template already deleted is a 404. Templates are managed
        from Agent Studio's Templates folder: only a workspace that has it can
        save, change or delete them (403 elsewhere), and changes reach every
        workspace.
      operationId: automations_delete_template
      parameters:
        - description: The template's id, from GET /v1/automations/templates
          in: path
          name: template_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateDeleted'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TemplateDeleted:
      properties:
        deleted:
          title: Deleted
          type: boolean
        template_id:
          title: Template Id
          type: string
      required:
        - template_id
        - deleted
      title: TemplateDeleted
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.