---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Delete folder

Delete a message template folder and child folders/templates

Required scope: `message_templates:delete`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "acceptedCannedAnswerFolderDeletion": {
        "description": "A message template folder accepted for deletion",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "default": "accepted",
                  "example": "accepted"
                },
                "message_template_folder_id": {
                  "type": "string",
                  "description": "id of the message template to be deleted",
                  "example": "rsf_g2"
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/message_template_folders/{message_template_folder_id}": {
      "delete": {
        "summary": "Delete folder",
        "operationId": "delete-folder",
        "description": "Delete a message template folder and child folders/templates\n\nRequired scope: `message_templates:delete`",
        "tags": [
          "Message Template Folders"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "message_template_folder_id",
            "required": true,
            "description": "The message template folder id",
            "schema": {
              "type": "string",
              "default": "rsf_123"
            }
          }
        ],
        "responses": {
          "202": {
            "$ref": "#/components/responses/acceptedCannedAnswerFolderDeletion"
          }
        },
        "x-required-scopes": [
          "message_templates:delete"
        ]
      }
    }
  }
}
```