Delete Labor Rate
Delete a labor rate from Last Mile Intelligence.
Operation
Section titled “Operation”deleteLaborRate
Resource
Section titled “Resource”laborRate
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Labor Rate ID | string | Yes | - | The ID of the rate to delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "message": "Labor rate deleted successfully", "laborRateId": "rate_custom"}{ "success": false, "error": "Labor rate not found", "laborRateId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Labor Rate Not Found: Rate with specified ID does not exist
- Has Dependencies: Rate is used in orders or invoices
- Permission Denied: API token lacks permission for this operation