Skip to content
TrackSafe365
v1.0 Dashboard →
PUT /drivers Beta

Update Driver

Full replacement of a driver record. The target is identified by the id in the request body — there is no id path parameter. The nested `truck` object can be used to re-assign the driver's truck inline; alternatively, pass `null` to unassign.

Parameters

Name In Type Description
id * body integer Id of the driver to update. e.g. 1
active body boolean Driver active status. truefalse
name * body string Driver first name. e.g. Jorge
surname * body string Driver last name. e.g. Martinez
username * body string Login username (must be unique across the company). e.g. j.martinez
email * body string Contact email address. e.g. j.martinez@example.com
phone body string Contact phone number. e.g. +1-214-555-0183
address body string Home address. e.g. 4821 Elm Street, Dallas, TX 75201
cdlNumber body string CDL (Commercial Driver License) number. e.g. CDL-TX-293847
cdlClass body string CDL class (A, B, or C). ABC
license body string Driver license number. e.g. DL-TX-482910
state body string Issuing state — 2-character code. e.g. TX
firstIssueDate body string Date CDL was first issued (ISO 8601 date: YYYY-MM-DD). e.g. 2015-04-12
issueDate body string Current CDL issue date (YYYY-MM-DD). e.g. 2022-04-12
expirationDate body string CDL expiration date (YYYY-MM-DD). e.g. 2026-04-12
ssn body string Social Security Number. Treat as sensitive — never log. e.g. 123-45-6789
cameraAgreement body boolean Whether the driver has agreed to in-cab camera usage. truefalse
totalExperience body integer Total years of commercial driving experience. e.g. 9

Response

Status: Beta. Try the request in the panel on the right to see a live response.