---
title: "Update Temp settings"
method: PATCH
path: "/temps/{tempId}/settings"
tags: ["Lifecycle"]
---

# Update Temp settings

`PATCH /temps/{tempId}/settings`

## Request

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

## Path parameters

- `tempId` string, required

## Request body

- object
  - `commentsEnabled` boolean
  - `spaMode` boolean

## Response `200`

Successful response

- object

## Other responses

- `400`: Invalid request
- `403`: Credential lacks access

---

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