Skip to content

Get Resource Group

Retrieve a single resource group by its ID from Last Mile Intelligence.

getResourceGroup

resourceGroup

ParameterTypeRequiredDefaultDescription
Resource Group IDstringYes-The ID of the resource group to retrieve
{
"id": "rg_team_north",
"name": "North Team",
"description": "Northern region delivery team",
"resourceIds": ["res_driver001", "res_driver002", "res_driver003"],
"terminalId": "term_north",
"isActive": true
}
{
"success": false,
"error": "Resource group not found",
"resourceGroupId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Resource Group Not Found: Group with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation