modl.gg
Developer API

Staff Disconnect

Report a staff member disconnection from the server.

POST /v1/minecraft/staff/disconnect

Report that a staff member has disconnected from your Minecraft server. This updates the staff member's online status and records their session duration.

Authentication

Requires the X-API-Key header with your server's API key.

X-API-Key: your-api-key-here

Request

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour server's API key.
Content-TypestringYesMust be application/json.

Body

FieldTypeRequiredDescription
minecraftUuidstringYesThe staff member's Minecraft UUID.
sessionDurationMslongYesThe duration of the staff member's session in milliseconds (min: 0).
{
  "minecraftUuid": "550e8400-e29b-41d4-a716-446655440000",
  "sessionDurationMs": 7200000
}

Response

200 OK

{
  "status": 200,
  "success": true
}

Error Responses

Status CodeDescription
400Invalid request body or missing required fields.
401Missing or invalid API key.
404Staff member not found.
429Rate limit exceeded.
500Internal server error.

On this page