Update Resource Group
Update an existing resource group in Last Mile Intelligence.
Operation
Section titled “Operation”updateResourceGroup
Resource
Section titled “Resource”resourceGroup
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Resource Group ID | string | Yes | - | The ID of the group to update |
| Resource Group Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "rg_team_north", "name": "North Team - Updated", "resourceIds": ["res_driver001", "res_driver002", "res_driver003", "res_driver004"], "updatedAt": "2024-06-21T10:30:00Z"}{ "success": false, "error": "Resource group not found", "resourceGroupId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Resource Group Not Found: Group with specified ID does not exist
- Invalid Resources: One or more resource IDs do not exist
- Permission Denied: API token lacks permission for this operation