Suspend a line
Suspends an active line, recording the reason when one is given. **Required permission:** `referential.line:write`
/referential/v1/lines/{id}/suspensionSuspends an active line, recording the reason when one is given.
Required permission: referential.line: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/lines/string/suspension" \ -H "Content-Type: application/json" \ -d '{}'List the rules naming a line
Every rule version whose scope names the line, whatever its state, with its domain, the module that reads it and whether it is mandatory — what retiring the line would touch, read before anything changes (RULES-051). The rules are the rules module's facts, so the caller also needs `referential.rule:read`. **Required permission:** `referential.line:read`
List the authorizations covering a line on a date
Several is the ordinary case; which of them runs a given departure is not decided here. Each status is derived on the supplied date, not the server date. **Required permission:** `referential.authorization:read`