Retire a departure zone
Retires a zone: its bays leave it, and it stays readable as history. **Required permission:** `referential.bay:write`
/referential/v1/departure-zones/{id}/retirementRetires a zone: its bays leave it, and it stays readable as history.
Required permission: referential.bay:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/referential/v1/departure-zones/string/retirement" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'Correct a departure zone
States the zone's name, towns, bays and spare again; its code is unchanged. A bay it no longer names leaves it. **Required permission:** `referential.bay:write`
Read devices' live status
Asks the station's hardware bridge about each address and answers one status per address, in the order asked: IN_SERVICE, OUT_OF_ORDER, OFFLINE, UNKNOWN_TO_BRIDGE, or BRIDGE_UNREACHABLE when no bridge is configured or it gave no usable answer in time. The bridge never fails this read. **Required permission:** `referential.device-status:read`