Delete a carrier
DELETE/company/my_carriers/:carrierId
Permanently remove a carrier from the system. Requires JWT authentication.
Use cases:
- Remove carriers that no longer work with the company
- Clean 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
- The carrier must be associated with the authenticated company
Request
Responses
- 200
- 401
- 404
Carrier successfully removed.
Response Headers
Unauthorized. Invalid or missing JWT token.
Response Headers
Carrier not found. The provided ID does not exist or is not associated with the company.