# DeleteTreeFieldNodeInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/types/inputs/delete-tree-field-node-input


Input for deleting a tree field node and all its descendants.

```graphql
input DeleteTreeFieldNodeInput {
  fieldDefinitionId: ID!
  currentNodePath: String!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>DeleteTreeFieldNodeInput.<b>fieldDefinitionId</b></code>](#field-definition-id)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>ID!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/id.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #field-definition-id */} 
The ID of the FieldDefinition of type tree.

#### [<code style={{ fontWeight: 'normal' }}>DeleteTreeFieldNodeInput.<b>currentNodePath</b></code>](#current-node-path)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>String!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/string.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #current-node-path */} 
The path of the node to delete, as a separator-joined string (e.g. "31126623|~^31126628").

### Member Of

[`deleteTreeFieldNode`](/organizer/content-api/graphql-event-api-schema/operations/mutations/delete-tree-field-node.mdx)  <Badge class="badge badge--secondary badge--relation" text="mutation"/>
