---
title: "Add HSTS header"
method: PUT
path: "/add-hsts"
tags: ["configuration"]
---

# Add HSTS header

`PUT /add-hsts`

Adds HSTS header to underlying caddy configuration. When added, 'Strict-Transport-Security' header is returned for each HTTPS response

## Response `200`

HSTS header has been added

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/snowplow/apis/snowplow-mini.md) · [All operations](https://skmtc.net/snowplow/apis/snowplow-mini/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/snowplow/snowplow-mini/revisions/a18ed17799ee/schema)
