Drivers
Endpoints for managing driver accounts, including creating driver profiles, updating driver information, retrieving driver details, and managing driver credentials.
📄️ Create a new driver
Creates a new driver account in the system. If no supplierId is provided, the first company of the fleet will be used. Passwords are automatically hashed.
📄️ Get all drivers
Retrieves a paginated list of drivers. Supports filtering by name and supplierId.
📄️ Get a driver by ID
Retrieves detailed information about a specific driver
📄️ Update a driver
Updates driver information. Password will be hashed if provided. Username uniqueness is validated.
📄️ Delete a driver
Permanently deletes a driver from the system. This action cannot be undone.