Gateway GRPC

Update a driver

patch/v2/organisations/{organisation_id}/drivers/{driver_id}

Request

  • Base URL
    https://api.cautio.in (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

organisation_idstring required
Example:019aa01c-a1a9-7fae-961b-23845147892e

Organisation ID

driver_idstring required
Example:019fadb6-dae3-7332-a8e4-25538ba84e52

Driver ID

Request body

namestring

Driver's full name

mobile_numberstring

Driver's mobile number

user_idstring

User ID to link with this driver

Example request

{
  "name": "Ravi Kumar",
  "mobile_number": "9876543210",
  "user_id": "019bb7e2-3ca7-792c-8d29-01fbb317f9dc",
  "license_info": {
    "driving_license_number": "DL0420110149646",
    "date_of_expiry": 1893456000000
  }
}

Response

Driver updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.