# Update/create driver by ID Endpoint: PUT /drivers/{driverId} Version: 1.0.0 Security: M2X_auth_application ## Path parameters: - `driverId` (string, required) The driver Id ## Request fields (application/json): - `name` (string, required) Driver name Example: "John" - `disabled` (boolean, required) - `mobile` (string) Driver phone number Example: "+33 123" - `description` (string) Example: "Nice Guy" - `externalId` (string) Example: "Human searchable external id" - `properties` (object,null) A key value store containing bespoke properties usable for pricing and optimisation - `metadata` (object,null) Opaque passenger data - `readonlyFields` (object) Specifies which field should not be touched by the user - `readonlyFields.name` (boolean) - `readonlyFields.mobile` (boolean) ## Response 200 fields (application/json): - `name` (string, required) Driver name Example: "John" - `disabled` (boolean, required) - `mobile` (string) Driver phone number Example: "+33 123" - `description` (string) Example: "Nice Guy" - `externalId` (string) Example: "Human searchable external id" - `properties` (object,null) A key value store containing bespoke properties usable for pricing and optimisation - `metadata` (object,null) Opaque passenger data - `readonlyFields` (object) Specifies which field should not be touched by the user - `readonlyFields.name` (boolean) - `readonlyFields.mobile` (boolean) - `id` (string) Example: "D001" ## Response 404 fields (application/json): - `message` (string) Example: "not found"