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