## Delete Session

**delete** `/print-mail/v1/template_editor_sessions/{id}`

Delete a Template Editor Session by ID.

### Path Parameters

- `id: string`

### Returns

- `id: string`

  A unique ID prefixed with `template_editor_session_`.

- `deleted: true`

  - `true`

- `object: "template_editor_session"`

  Always `template_editor_session`.

  - `"template_editor_session"`

### Example

```http
curl https://api.postgrid.com/print-mail/v1/template_editor_sessions/$ID \
    -X DELETE \
    -H "X-API-Key: $POSTGRID_PRINT_MAIL_API_KEY"
```

#### Response

```json
{
  "id": "template_editor_session_vmb3aXRJFzHb4oNRP2XMUZiTTBDtC91CSgQeqUrQfhSqq5P9wAGpmX5UkftueTubMN",
  "object": "template_editor_session",
  "deleted": true
}
```
