# Delete an automation (/th/growsocmed/docs/api-reference/automations/delete-automation)

Delete an automation and its history

DELETE /automations/{id}

```json
{
  "tags": [
    "Automations"
  ],
  "summary": "Delete an automation",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "ok": {
                "type": "boolean"
              }
            },
            "required": [
              "ok"
            ]
          }
        }
      }
    }
  },
  "operationId": "delete-automation",
  "description": "Delete an automation and its history"
}
```