Resources

Fetch resource ID and account ID by names

This operation is used to fetch the resource ID and account ID by providing the resource name and account name

get/restapi/json/v1/resources/getResourceIdAccountId

Request

Query parameters

RESOURCENAMEstring required
ACCOUNTNAMEstring required

Headers

orgNamestring

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

Response

Resource ID and Account ID

Example response

{
  "operation": {
    "Details": {
      "ACCOUNTID": "301",
      "RESOURCEID": "301"
    },
    "name": "GET_RESOURCEACCOUNTID"
  }
}

Changes

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