curl -X GET 'https://api.example.com/resource-hierarchy/parent/resource_doc_456' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "resource_folder_123",
"resourceTypeId": "rtype_folder",
"displayName": "Engineering Docs",
"relationshipType": "contains",
"cascade": "inherit"
}
Get the parent resource in the hierarchy
curl -X GET 'https://api.example.com/resource-hierarchy/parent/resource_doc_456' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "resource_folder_123",
"resourceTypeId": "rtype_folder",
"displayName": "Engineering Docs",
"relationshipType": "contains",
"cascade": "inherit"
}
curl -X GET 'https://api.example.com/resource-hierarchy/parent/resource_doc_456' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "resource_folder_123",
"resourceTypeId": "rtype_folder",
"displayName": "Engineering Docs",
"relationshipType": "contains",
"cascade": "inherit"
}
Was this page helpful?