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