Skip to main content
POST
Set a unit's status

Authorizations

__Host-argus-session
string
cookie
required

The opaque session cookie set by Discord sign-in. Named argus-session outside production. HttpOnly, so scripts cannot read it; same-origin requests send it automatically. Requests other than GET must also carry an Origin header equal to the application's own origin.

Path Parameters

id
string
required

Unit ID. Argus record identifier.

Required string length: 1 - 64
Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
status
enum<string>
required
Available options:
AVAILABLE,
ASSIGNED,
EN_ROUTE,
ON_SCENE,
BUSY,
UNAVAILABLE,
OFF_DUTY
version
integer
required

The version you last read. A mismatch returns 409.

Required range: x >= 1

Response

Success.

data
object
required