Delete a carrier
DELETE/company/my_carriers/:carrierId
Permanently delete a carrier from the system. Requires JWT authentication.
Use cases:
- Removing carriers that no longer work with the company
- Cleaning up duplicate or incorrect records
Notes:
- This action is irreversible
- All associated drivers will also be deleted
- The carrier ID must be valid and exist
Request
Responses
- 200
- 401
- 404
Carrier successfully deleted
Unauthorized. Invalid or missing JWT token.
Carrier not found. The provided ID does not exist or is not associated with the company.