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 previously
- Only drivers associated with the specified carrier can be deleted
Request
Responses
- 200
- 401
- 404
Driver deleted successfully
Unauthorized. Invalid or missing JWT token.
Not found. Possible causes:
- Carrier does not exist
- Driver does not exist or does not belong to the specified carrier