---
title: "Reset the TTL of an existing pipeline"
method: POST
path: "/pipeline/reset-ttl"
tags: ["Pipelines"]
---

# Reset the TTL of an existing pipeline

`POST /pipeline/reset-ttl`

## Request

- Base URL: `https://tenzir.com/api/v0`
- URL: `https://tenzir.com/api/v0/pipeline/reset-ttl`
- Auth: API key in header `X-Tenzir-Token`
- TypeScript: <https://skmtc.dev/tenzir/apis/tenzir-rest-api/docs/pipeline/reset-ttl/post.ts> (a function with typed inputs; its response is checked against the schema)

Resets the TTL for existing pipelines that were created with a TTL.
Resetting the TTL restarts the TTL timer from zero seconds and keeps the
pipelines alive longer.

## Request body

- object
  - `ids` string[], required: The id of pipelines whose TTL should be updated.

## Response `200`

The TTL was reset for the returned pipeline IDs.

- object
  - `ids` string[]: The id of pipelines whose TTL has been successfully updated.

## Other responses

- `400`: Invalid arguments.

---

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