Skip to content

Update Resource

Update an existing resource in Last Mile Intelligence.

updateResource

resource

ParameterTypeRequiredDefaultDescription
Resource IDstringYes-The ID of the resource to update
Resource DataJSONYes-Fields to update
{
"id": "res_driver001",
"firstName": "John",
"lastName": "Smith",
"phone": "(555) 987-6543",
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"success": false,
"error": "Resource not found",
"resourceId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Resource Not Found: Resource with specified ID does not exist
  • Validation Error: Invalid data format in update fields
  • Permission Denied: API token lacks permission for this operation