---
title: "Update an existing driver."
url: "https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da/operations/updateDriver"
---

> Full API specification: https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da.md

# Update an existing driver.

`PUT` `/cmd/v1/drivers/{drivernumber}`

Operation ID: `updateDriver`

Edit an existing driver within a REVEAL account. The Driver Number in the path identifies the existing driver record and cannot be changed by this call. The driver edits are included in the body of the request. PUT methods do not return an object review, only a standard HTTP status code.

## Path parameters

- `drivernumber` (string, required) - The Driver Number of the existing driver record to update.

## Request body (required)

Content types: `application/json`

## Responses

- `204` - Driver successfully updated.
- `400` - Bad request. The request body is invalid or missing required fields.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `404` - Driver not found with the specified driver number.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Driver API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/drivers/{drivernumber}:
    put:
      summary: Update an existing driver.
      description: Edit an existing driver within a REVEAL account. The Driver Number
        in the path identifies the existing driver record and cannot be changed
        by this call. The driver edits are included in the body of the request.
        PUT methods do not return an object review, only a standard HTTP status
        code.
      operationId: updateDriver
      tags:
        - Driver API
      parameters:
        - name: drivernumber
          in: path
          required: true
          description: The Driver Number of the existing driver record to update.
          schema:
            type: string
            example: "100096"
      requestBody:
        description: Driver object containing the updated driver details.
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/DriverUpdate"
            example:
              EmailAddress: user@example.com
              FirstName: Chris
              LastName: Abernathy
              EnableMobileAccess: false
              PhoneNumber: "5551234567"
        required: true
      responses:
        "204":
          description: Driver successfully updated.
        "400":
          description: Bad request. The request body is invalid or missing required fields.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Driver not found with the specified driver number.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
components:
  schemas:
    DriverUpdate:
      type: object
      description: Driver payload used to edit (PUT) a driver record. The Driver
        Number is taken from the path and cannot be changed. All fields replace
        the existing values; omitted fields are cleared (EnableMobileAccess
        becomes false).
      properties:
        EmailAddress:
          type: string
          nullable: true
          description: The email address for the driver. Must be unique if changed. If
            several addresses are supplied, only the first is used, limited to
            64 characters.
          example: user@example.com
        FirstName:
          type: string
          description: The first name of the driver.
          example: Chris
        LastName:
          type: string
          description: The last name of the driver.
          example: Abernathy
        EnableMobileAccess:
          type: boolean
          default: false
          description: True indicates the driver will have access to mobile applications.
            False when omitted.
          example: false
        PhoneNumber:
          type: string
          nullable: true
          description: The phone number for the driver.
          example: "5551234567"
    Error:
      type: object
      description: Generic error response. The documentation does not define an
        explicit error body schema.
      properties:
        message:
          type: string
          description: A human-readable description of the error.
```
