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
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.