---
title: "symbol.delete: Delete Symbol — Vector kit command — Kition"
description: "Deletes a symbol, expanding its instances (or deleting them)."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/symbol.delete"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/symbol.delete](https://developer.kition.ai/docs/kits/vector/commands/symbol.delete)

# symbol.delete

**Delete Symbol.** Deletes a symbol, expanding its instances (or deleting them).

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `expandInstances` | `boolean` | no |  |
| `flattener` | `object` | no | read by the command beside its listed parameters |
| `flattenerPreset` | `string` | no | read by the command beside its listed parameters |
| `name` | `string` | no |  |
| `options` | `object` | no | read by the command beside its listed parameters |
| `preset` | `string` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "symbol.delete" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `expandInstances`, `flattener`, `flattenerPreset`, `name`, `options`, `preset`. vector_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "expandInstances": {
      "default": true,
      "type": "boolean"
    },
    "flattener": {
      "additionalProperties": true,
      "description": "read by the command beside its listed parameters",
      "type": "object"
    },
    "flattenerPreset": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "name": {
      "type": "string",
      "x-khp-name": "name",
      "x-khp-types": [
        "Symbol"
      ]
    },
    "options": {
      "additionalProperties": true,
      "description": "read by the command beside its listed parameters",
      "type": "object"
    },
    "preset": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
