Skip to content

Delete Expiration Type

Delete an expiration type from Last Mile Intelligence.

deleteExpirationType

expirationType

ParameterTypeRequiredDefaultDescription
Expiration Type IDstringYes-The ID of the type to delete
{
"success": true,
"message": "Expiration type deleted successfully",
"expirationTypeId": "exptype_custom"
}
{
"success": false,
"error": "Expiration type not found",
"expirationTypeId": "invalid_id"
}
  • 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