Resources
Fetch resource ID by name (query param)
Retrieves the resource ID by passing the resource name as a query parameter. This is an alternative to the path-based lookup at /resources/resourcename/{resource_name}.
get/restapi/json/v1/resources/id
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
Name of the resource to look up
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Response
Resource ID retrieved successfully
Example response
{
"operation": {
"Details": {
"RESOURCEID": "302"
},
"name": "GET_RESOURCEID"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.