---
title: "End Flight Command"
method: POST
path: "/api/muster"
---

# End Flight Command

`POST /api/muster`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/muster`
- Auth: HTTP bearer

Send a command that ENDS a flight to the farm's device. The path keeps its
old name for the clients that abort through it; nothing sent here can start
a flight.

## Request body

- MusterRequest
  - `command` string, nullable
  - `farm_id` integer, nullable
  - `device_id` string, nullable
  - `config` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
