Delete Fuel
Delete a fuel product from Last Mile Intelligence.
Operation
Section titled “Operation”deleteFuel
Resource
Section titled “Resource”fuel
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Fuel ID | string | Yes | - | The ID of the fuel to delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "message": "Fuel deleted successfully", "fuelId": "fuel_custom"}{ "success": false, "error": "Fuel not found", "fuelId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Fuel Not Found: Fuel with specified ID does not exist
- Has Dependencies: Fuel has associated orders or pricing records
- Permission Denied: API token lacks permission for this operation