---
title: "Modifies ttl for a specific volatile data blob"
method: PATCH
path: "/layers/{layerId}/data/{dataHandle}"
tags: ["volatile-blob"]
---

# Modifies ttl for a specific volatile data blob

`PATCH /layers/{layerId}/data/{dataHandle}`

Modify ttl of the volatile data blob in the underlying storage mechanism (volume).

## Path parameters

- `layerId` string, required
- `dataHandle` string, required

## Query parameters

- `billingTag` string

## Headers

- `X-Replicate` string

## Request body

- PatchProperties
  - `ttl` integer — The expiry time in milliseconds. Data is automatically removed after the specified time limit has elapsed. The TTL value must be between 60000 (1 minute) and 604800000 (7 days).

## Response `204`

No Content - A new ttl was set

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/here/apis/query-api-v1.md) · [All operations](https://skmtc.dev/here/apis/query-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/here/query-api-v1/revisions/30e5d2645407/schema)
