Skip to main content
PATCH
Update a driver

Authorizations

Authorization
string
header
required

OAuth2 Client Credentials Flow

Path Parameters

driverId
string
required

Body

application/json

The driver object to update.

name
object | null

The name of the driver

preferredLocale
string | null

A string that is a valid Unicode BCP 47 Locale Identifier.

For example: "fa", "es-MX", "zh-Hant-TW".

See MDN - Intl - locales argument.

physicalAddress
object

Physical address details

contactDetails
object | null

At least one of "email" or "phone" is required.

Response

The updated driver object.

data
object
required