API referenceEndpoints
Decommission a bay
Permanently decommissions a bay. **Required permission:** `referential.bay:write`
POST
/referential/v1/bays/{id}/decommissioningPermanently decommissions a bay.
Required permission: referential.bay:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*DecommissionBayRequest
Response Body
curl -X POST "https://example.com/referential/v1/bays/string/decommissioning" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'Empty
Correct a bay
Corrects the position, dimensions, sector and use of a bay; its code is unchanged. **Required permission:** `referential.bay:write`
Declare which coaches a bay takes
States the longest coach the bay takes, in metres, and the family it belongs to. Both replace what the bay held; an omitted value is cleared. **Required permission:** `referential.bay:write`