Update vehicle

Updates an existing vehicle. All fields are optional; only provided fields are updated.

put/vehicles/{id}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/vehicles/{id}
  • Auth: none declared

Request body

makestring
modelstring
yearinteger
fuel_tank_capacitynumber double

Response

Vehicle updated successfully

idinteger

Vehicle identifier

makestring nullable
modelstring nullable
yearinteger nullable
fuel_tank_capacitynumber double nullable

Maximum fuel capacity in liters

Changes

No recorded changes to this operation across all 1 revision of this API.