--- title: "cluster close-protocol-handle" slug: "cluster-close-protocol-handle" tags: ["5.4"] updated: 2026-10-28T01:52:11Z published: 2026-10-28T01:52:11Z canonical: "docs.vastdata.com/cluster-close-protocol-handle" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # cluster close-protocol-handle This command closes open file handles. To list open file handles, run [cluster list-open-protocol-handles](/docs-5-4/docs/cluster-list-open-protocol-handles). ## **Usage** ```plaintext cluster close-protocol-handle --file-path PATH                              --session-id ID                              --session-handle-unique-id ID                             [--share SHARE]                             [--cluster-id ID]                             [--tenant-name TENANT] ``` ## **Required Parameters** | `--file-path PATH` | Specify the file path. For SMB views, specify the path within the share specified in `--share`. | | --- | --- | | `--session-id ID` | Specify the session ID. To learn the session ID, run the [cluster list-open-protocol-handles](/docs-5-4/docs/cluster-list-open-protocol-handles) command. | | `--session-handle-unique-id ID` | Specify the unique ID of the session handle you want to close. To learn the session ID, run the [cluster list-open-protocol-handles](/docs-5-4/docs/cluster-list-open-protocol-handles) command and check the `unique_id` field. | ## **Options** | `--share SHARE` | For SMB views, specify the share name. | | --- | --- | | `--cluster-id ID` | Specify the cluster ID. You can verify the cluster ID by running `cluster list`. Default: 1. | | `--tenant-name TENANT` | Specify the name of the tenant where the file resides. If this option is not specified, the default tenant is used. | ## **Example** ```plaintext vcli: admin> cluster close-protocol-handle --file-path test.txt --share test2 --session-id 0x1c00200000002 --session-handle-unique-id 0x1c0020000000b Filehandle was closed successfully ```