Update driver
x-ms-visibility: "important"
Update driver details such as name, external ID, home site, and payer ID.
Path Parameters
driverId string required
Unique driver identifier.
application/json
Request Body required
Details of the driver to be updated.
name string
externalId string
homeSiteId int64 nullable
payerId int64 nullable
Responses
- 200
- 400
- 404
Driver updated successfully.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
id int64
externalId string
name string
homeSiteId int64 nullable
payerId int64 nullable
homeSiteName string
tags object[]
id int64
idTag string
expiringDate date-time
startDate date-time nullable
lastUpdated date-time nullable
tokenName string
invoicable boolean nullable
driverId int64
{
"id": 0,
"externalId": "string",
"name": "string",
"homeSiteId": 0,
"payerId": 0,
"homeSiteName": "string",
"tags": [
{
"id": 0,
"idTag": "string",
"expiringDate": "2025-02-17T11:24:21.315Z",
"startDate": "2025-02-17T11:24:21.315Z",
"lastUpdated": "2025-02-17T11:24:21.315Z",
"tokenName": "string",
"invoicable": true,
"driverId": 0
}
]
}
Invalid input provided
Driver not found
Loading...