Plum / developers
REST APIDevice

End a session from the recorder

End a shared recorder's session after its upload backlog has drained; the recorder becomes idle and the recordings stay with the host. Once ended, or once the 15-minute drain window after the scheduled end passes, this and every bound-device route return 403 DEVICE_UNBOUND, which a repeated end treats as success. A personal device returns 409 CONFLICT. Set Content-Type to application/json or application/cbor for the request body. Requires a provisioned, verified mTLS device client certificate and an account binding. Set Accept to application/json or application/cbor for the response; omitted or wildcard Accept selects JSON. See [Devices](/docs/devices).

POST/device/session/end

Header Parameters

X-API-Version?"1"

Send 1 to pin the documented API contract. If omitted, the latest version is selected.

Default"1"

Value in

  • "1"

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/device/session/end" \  -H "X-API-Version: 1" \  -H "Content-Type: application/json" \  -d '{    "binding_epoch": "f92bd0f6-ad82-48f7-b45e-7b07b52b3f71"  }'
Empty