drivers

Update an existing driver

put/api/drivers/{driver_id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

driver_idstring uuid required

Request body

activeboolean nullable
addressstring nullable
availabilityboolean[] nullable
car_make_modelstring nullable
first_namestring nullable
last_namestring nullable
license_platestring nullable
partner_driver_namestring nullable
phonestring nullable

Response

Successful Response

activeboolean
addressstring nullable
auth_idstring nullable required
availabilityboolean[]
car_make_modelstring nullable
driver_idstring uuid required
emailstring email required
first_namestring required
full_namestring required
last_namestring required
license_platestring nullable
note_chain_idstring uuid nullable
partner_driver_namestring nullable
phonestring nullable
rolestring required
user_idstring uuid required

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      response property address list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property car_make_model list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property license_plate list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property phone list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      the response property's maxLength was unset from 255 for the response status

    • breaking

      the response property's maxLength was unset from 255 for the response status

    • breaking

      the response property's maxLength was unset from 20 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • info

      the / request property's minLength was decreased from 1 to 0

    • info

      the / request property's minLength was decreased from 1 to 0

    • info

      the / request property's minLength was decreased from 1 to 0

    • info

      the / request property's minLength was decreased from 1 to 0

    • info

      endpoint added