> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Delete Context Template

DELETE https://api.getzep.com/api/v2/context-templates/{template_id}

Deletes a context template by template_id.

Reference: https://docs-beta.getzep.com/sdk-reference/context/delete-context-template

## Request

### Path parameters

- `template_id` (string, required) — Template ID

## Response

### 200

Template deleted successfully

- `message` (string, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "message": "Context template deleted successfully."
}
```