Get Resource Group
Retrieve a single resource group by its ID from Last Mile Intelligence.
Operation
Section titled “Operation”getResourceGroup
Resource
Section titled “Resource”resourceGroup
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Resource Group ID | string | Yes | - | The ID of the resource group to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "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"}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
- Permission Denied: API token lacks permission for this operation