---
title: "Delete Timelines or Timeline templates"
method: DELETE
path: "/api/timeline"
tags: ["Security Timeline API"]
---

# Delete Timelines or Timeline templates

`DELETE /api/timeline`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/timeline</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Delete one or more Timelines or Timeline templates.

## Request body

- object
  - `savedObjectIds` string[], required — The list of IDs of the Timelines or Timeline templates to delete
  - `searchIds` string[] — Saved search IDs that should be deleted alongside the timelines

## Response `200`

Indicates a successful call.

- object

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
