---
title: "Update a vehicle's hours of use."
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/updateVehicleHoursOfUse"
---

> Full API specification: https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2.md

# Update a vehicle's hours of use.

`PUT` `/cmd/v1/vehicles/{vehiclenumber}/hoursofuse`

Operation ID: `updateVehicleHoursOfUse`

## Before you start Before you make your first API call, make sure you have the following: - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace. - You have the Client ID and Client Secret for your integration. - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken). > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy). ## Purpose Update a vehicle's current hours of use as of a given date. The As Of date must be less than 30 days in the past. The request body should include Minutes of Use and the As Of date/timestamp.

## Path parameters

- `vehiclenumber` (string, required) - The Vehicle Number; the unique identifier used to reference the vehicle within the API.

## Request body

Content types: `application/json`

## Responses

- `204` - Hours of use successfully updated.
- `400` - Bad request. No vehicle exists with the specified vehicle number (message: "The Client Vehicle ID specified was not a valid ID."), or the request body is invalid.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/vehicles/{vehiclenumber}/hoursofuse:
    put:
      summary: Update a vehicle's hours of use.
      description: |-
        ## Before you start

        Before you make your first API call, make sure you have the following:

        - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
        - You have the Client ID and Client Secret for your integration.
        - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken).

        > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy).

        ## Purpose

        Update a vehicle's current hours of use as of a given date. The As Of date must be less than 30 days in the past. The request body should include Minutes of Use and the As Of date/timestamp.
      operationId: updateVehicleHoursOfUse
      tags:
        - Vehicle API [Legacy]
      parameters:
        - name: vehiclenumber
          in: path
          required: true
          description: The Vehicle Number; the unique identifier used to reference the
            vehicle within the API.
          schema:
            type: string
            example: "890001"
      requestBody:
        description: Hours of use data including MinutesOfUse and AsOf timestamp.
        content:
          application/json:
            schema:
              type: object
              description: Request body to update a vehicle's hours of use as of a given date.
              required:
                - AsOf
              properties:
                MinutesOfUse:
                  type: integer
                  description: The minutes of use for the vehicle.
                  example: 6050
                AsOf:
                  type: string
                  format: date-time
                  description: The As Of date and timestamp for the hours of use. Must be less
                    than 30 days in the past.
                  example: 2016-09-09T00:00:00
              title: HoursOfUseUpdateRequest
            example:
              MinutesOfUse: 6050
              AsOf: 2016-09-09T00:00:00
      responses:
        "204":
          description: Hours of use successfully updated.
          content:
            application/json: {}
        "400":
          description: 'Bad request. No vehicle exists with the specified vehicle number
            (message: "The Client Vehicle ID specified was not a valid ID."), or
            the request body is invalid.'
          content:
            application/json: {}
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/json: {}
        "500":
          description: Internal server error.
          content:
            application/json: {}
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/vehicles/[^/]+/hoursofuse/?$
```
