Resource Groups

Fetch resource group ID by name

Get the ID of a resource group based on its name and the user ID.

get/restapi/json/v1/resourcegroup/getResourceGroupId

Request

Query parameters

RESOURCEGROUPNAMEstring required
USERIDinteger required

Headers

orgNamestring

Name of the Organization (for MSP/multi-org deployments)

Response

Resource group ID

Example response

{
  "operation": {
    "Details": {
      "RESOURCEGROUPID": "601"
    },
    "name": "GET RESOURCE GROUP ID"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.