---
title: "Bring a WireGuard interface up or down"
method: POST
path: "/host-metrics/managers/wireguard/{id}/action"
tags: ["Host Metrics"]
---

# Bring a WireGuard interface up or down

`POST /host-metrics/managers/wireguard/{id}/action`

## Path parameters

- `id` integer, required

## Request body

- object
  - `interface` string
  - `action` 'up' | 'down'

## Response `200`

Action result.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
