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

# Delete automation

> Deletes an existing automation by its unique identifier.



## OpenAPI

````yaml /openapi.yaml delete /automations/{id}
openapi: 3.0.0
info:
  title: MailCare API
  version: '1.0'
  description: API documentation for MailCare
servers:
  - url: https://mailcare.io/api/teams/{teamId}
    variables:
      teamId:
        default: '0'
        description: The team identifier
security: []
paths:
  /automations/{id}:
    delete:
      tags:
        - Automations
      summary: Delete automation
      description: Deletes an existing automation by its unique identifier.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the automation to delete.
      responses:
        '204':
          description: Automation successfully deleted.
        '401':
          description: Unauthorized. Authentication is required.
        '403':
          description: Forbidden. Insufficient permissions.
        '404':
          description: Not Found. The specified automation does not exist.
      security:
        - bearer_auth: []
components:
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````