Skip to main content
GET
http://localhost:3000
/
resource-hierarchy
/
parent
/
{resourceId}
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"
}

Path Parameters

resourceId
string
required
The child resource ID

Response

Returns the parent resource, or 404 if no parent exists.
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"
}