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