API referenceEndpoints
Suspend a vehicle
Sets a vehicle status to suspended. **Required permission:** `referential.vehicle:write`
POST
/referential/v1/vehicles/{id}/suspensionSets a vehicle status to suspended.
Required permission: referential.vehicle: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*SuspendVehicleRequest
Response Body
curl -X POST "https://example.com/referential/v1/vehicles/string/suspension" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'Empty
Replace a vehicle's seats
Replaces the whole seat layout of a numbered vehicle as one set. **Required permission:** `referential.vehicle:write`
Change a vehicle's type
Changes the vehicle's type to a known, active type, keeping the previous one in history. **Required permission:** `referential.vehicle:write`