---
title: "POST /preview-gateway/restart"
method: POST
path: "/preview-gateway/restart"
tags: ["Preview Gateway"]
---

# POST /preview-gateway/restart

`POST /preview-gateway/restart`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/preview-gateway/restart`
- Auth: HTTP bearer

## Response `204`

Gateway restarted

## Other responses

- `409`: The gateway is disabled in settings, or another gateway operation is still running
- `500`: Gateway restart failed

## Changes

- **2026-11-09** `12896146b193`: 2 breaking
  - removed the required property `extensions` from the response with the `409` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-05** `4b228ebed583`: 2 info
  - added the non-success response with the status `409`
  - added the optional property `status` to the response with the `500` status
- **2026-10-05** `63a80791dc58`: 1 warning, 1 info
  - removed the optional property `status` from the response with the `500` status
  - removed the non-success response with the status `409`
- **2026-10-03** `de8387218c0b`: 1 info
  - added the non-success response with the status `409`
- **2026-09-23** `f4efc4d5c7b7`: 1 info
  - added the optional property `status` to the response with the `500` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/preview-gateway/restart/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
