---
title: "Freeze the current Version"
method: POST
path: "/temps/{tempId}/snapshot"
tags: ["Lifecycle"]
---

# Freeze the current Version

`POST /temps/{tempId}/snapshot`

## Request

- Base URL: `https://api.temp.md`
- URL: `https://api.temp.md/temps/{tempId}/snapshot`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/temp-md/apis/temp-md-public-api/docs/temps/:tempId/snapshot/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tempId` string, required

## Request body

- object
  - `label` string

## Response `200`

Successful response

- object

## Other responses

- `403`: Credential lacks access
- `404`: Resource not found
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/temp-md/apis/temp-md-public-api.md) - [All operations](https://skmtc.dev/temp-md/apis/temp-md-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/temp-md/apis/temp-md-public-api/revisions/4753682e1e3a?raw)
