> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nearnode.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Node

> Permanently delete a node and its analytics data.

### Path Parameters

<ParamField path="slug" type="string" required>
  The node's unique slug.
</ParamField>

<Warning>
  This action is **permanent**. The node, its routing rules, and all associated analytics data will be deleted. The slug will not be reusable.
</Warning>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://nearnode.io/api/v1/nodes/k9m2xp4q \
    -H "Authorization: Bearer sk_live_..."
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "deleted": true,
      "slug": "k9m2xp4q"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Node not found"
  }
  ```
</ResponseExample>
