--- title: "switch modify" slug: "switch-modify" updated: 2026-10-27T17:24:49Z published: 2026-10-27T17:24:49Z canonical: "docs.vastdata.com/switch-modify" --- > ## 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. # switch modify This command updates the user name and password for a switch. ## Usage ```plaintext switch modify --id ID              --username USERNAME              --password PASSWORD ``` ## Required Parameters | `--id ID` | Specifies which object to modify. | | --- | --- | | `--username USERNAME` | Specifies a user name that can be used to log into the switch OS. | | `--password PASSWORD` | Specifies the password for the specified user name. | ## Example ```plaintext vcli: admin> object modify --id 1 ```