Remove a profile

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Remove a named connection profile that you no longer need from the configuration file.

    Avant de commencer

    A default profile must first exist to communicate with an instance.

    Role required: none.

    Pourquoi et quand exécuter cette tâche

    You cannot remove the default connection profile using this command. To remove the default connection profile, edit the configuration file manually.

    Procédure

    1. Open your system's command-line tool and execute this command.
    2. Specify the name of the named profile in the profile-name argument.
      $ snc configure profile remove [--profile profile-name]

    Résultats

    The CLI removes the specified profile from the configuration file.