---
title: "Publishes a data blob"
method: PUT
path: "/layers/{layerId}/data/{dataHandle}"
tags: ["blob"]
---

# Publishes a data blob

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

Persists the data blob in the underlying storage mechanism (volume). Use this upload mechanism for blobs smaller than 50 MB. The size limit for blobs uploaded this way is 5 GB but we do not recommend uploading blobs this large with this method, so use multipart upload instead. When the operation completes successfully there is no guarantee that the data blob will be immediately available although in most cases it will be. To check if the data blob is available use the HEAD method.

## Path parameters

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

## Query parameters

- `billingTag` string

## Headers

- `Content-Length` integer, required
- `Content-Encoding` string
- `Content-Type` string, required
- `X-HERE-Digest` string

## Response `200`

OK - Blob was uploaded

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict - indicates blob with this dataHandle already exists

---

[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)
