Skip to main content

Arguments

Input fields for removing a property from a hierarchy.

Returns

RemovePropertyFromHierarchy

Remove a property from a hierarchy.

This operation is idempotent - if the property is not in the hierarchy, it will succeed without error. When a property is removed, its descendants are reparented to the removed property's parent. If removing a root node, its children become new root nodes.

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 RemovePropertyFromHierarchy($input: RemovePropertyFromHierarchyInput!) { removePropertyFromHierarchy(input: $input) { property { ...PropertyTypeFragment } } }

Variables

Response

{ "data": { "removePropertyFromHierarchy": { "property": PropertyType } } }