SmartGare
API referenceEndpoints

Change a vehicle's type

Changes the vehicle's type to a known, active type, keeping the previous one in history.

PUT/referential/v1/vehicles/{id}/type

Changes the vehicle's type to a known, active type, keeping the previous one in history.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X PUT "https://example.com/referential/v1/vehicles/string/type" \  -H "Content-Type: application/json" \  -d '{    "type": "string",    "reason": "string"  }'
Empty