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