---
title: "Run a console (RCON) command"
method: POST
path: "/api/servers/{id}/command"
---

# Run a console (RCON) command

`POST /api/servers/{id}/command`

## Request

- Base URL: `https://portal.tacyon.io`
- URL: `https://portal.tacyon.io/api/servers/{id}/command`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `command` string, required

## Response `200`

OK

- object
  - `output` string
  - `used_rcon` boolean

---

[API](https://skmtc.dev/tacyon/apis/tacyon-api.md) · [All operations](https://skmtc.dev/tacyon/apis/tacyon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tacyon/apis/tacyon-api/revisions/25ed61fac51c?raw)
