---
title: "Remove template sample data"
method: POST
path: "/crm/templates/{templateId}/remove-sample-data"
tags: ["crm"]
---

# Remove template sample data

`POST /crm/templates/{templateId}/remove-sample-data`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/templates/{templateId}/remove-sample-data`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Delete a CRM template's sample rows (tagged "Sample"); schema, views, and automations stay.

## Path parameters

- `templateId` string, required

## Response `200`

Successful response

- unknown

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
