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

# Restart Gateway

`POST /gateway/restart`

Restart Gateway container.

If config is provided, the container will be removed and recreated with new configuration.
If no config is provided, the container will be stopped and started with existing configuration.

## Request body

- GatewayConfig — Configuration for Gateway container deployment
  - `passphrase` string, required — Gateway passphrase for configuration encryption
  - `image` string — Docker image for Gateway
  - `port` integer — Port for Gateway API
  - `dev_mode` boolean — Enable development mode

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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