---
title: "Delete Report Template"
method: DELETE
path: "/reports/templates/{template_id}"
tags: ["Reports"]
---

# Delete Report Template

`DELETE /reports/templates/{template_id}`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/reports/templates/{template_id}`
- Auth: API key in header `apikey`

Delete a report template and deactivate its schedule.

**Requires:**

## Path parameters

- `template_id` string, required

## Headers

- `Workspace` string
- `apikey` string, required

## Response `200`

Template deleted

- ReportTemplate: Custom report template
  - `id` string, required: Template public ID
  - `name` string, required: Template name
  - `description` string: Template description
  - `query` object: Query definition for the report
  - `schedule` object: Schedule configuration
    - `id` string
    - `frequency` 'daily' | 'weekly' | 'monthly'
    - `active` boolean
    - `nextRun` string, date-time
  - `lastExecutionTimestamp` string, date-time: Last time the report was executed
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `403`: Forbidden - Insufficient permissions

---

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