Skip to content

Delete Tank

Delete a tank from Last Mile Intelligence.

deleteTank

tank

ParameterTypeRequiredDefaultDescription
Tank IDstringYes-The ID of the tank to delete
{
"success": true,
"message": "Tank deleted successfully",
"tankId": "tank_abc123"
}
{
"success": false,
"error": "Tank not found",
"tankId": "invalid_id"
}
  • 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