cURL
curl --request PUT \ --url https://api.app.fleetit.com/v2/vehicles/{ID}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": 817193939, "plate_number": "{{$randomAlphaNumeric}}", "plate_state": "NY", "vehicle_number": "", "vehicle_make": null, "vehicle_model": null, "active": true, "year": "2020", "lessee_renter": null }'
{ "id": 817193939, "vehicle_number": "", "vehicle_make": null, "vehicle_model": null, "active": true, "year": "2020", "lessee_renter": null }
Update a vehicle by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object
Was this page helpful?