Skip to content

Update Expiration Type

Update an existing expiration type in Last Mile Intelligence.

updateExpirationType

expirationType

ParameterTypeRequiredDefaultDescription
Expiration Type IDstringYes-The ID of the type to update
Expiration Type DataJSONYes-Fields to update
{
"id": "exptype_cdl",
"name": "CDL License Updated",
"description": "Updated description",
"defaultReminderDays": 45,
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"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
  • Validation Error: Invalid data format in update fields
  • Permission Denied: API token lacks permission for this operation