Skip to main content

Remove a driver

DELETE 

/company/my_carriers/driver/:carrierId/:driverId

Permanently remove a driver from the system. Requires JWT authentication.

Use cases:

  • Remove drivers who no longer work with the carrier
  • Clean up duplicate or incorrect records

Notes:

  • This action is irreversible
  • The carrier and driver must exist beforehand
  • Only drivers associated with the specified carrier can be deleted
  • The endpoint validates that the driver belongs to the carrier (using the associated field)

Request

Responses

Driver successfully removed

Response Headers