Skip to main content

Arguments

Input fields for deleting descendants from a property.

Returns

DeletePropertyDescendants

Delete all descendants of a property in a hierarchy.

This permanently deletes all descendant nodes (children, grandchildren, etc.) but keeps the property node itself in the hierarchy. This operation is idempotent - if the property is not in the hierarchy or has no descendants, it will succeed without error.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage property hierarchies

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation DeletePropertyDescendants($input: DeletePropertyDescendantsInput!) { deletePropertyDescendants(input: $input) { property { ...PropertyTypeFragment } } }

Variables

Response

{ "data": { "deletePropertyDescendants": { "property": PropertyType } } }