github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_fix_orphan-account.md (about)

     1  ## cozy-stack fix orphan-account
     2  
     3  Remove the orphan accounts
     4  
     5  ### Synopsis
     6  
     7  
     8  This fixer detects the accounts that are linked to a konnector that has been
     9  uninstalled, and then removed them.
    10  
    11  For banking accounts, the konnector must run to also clean the account
    12  remotely. To do so, the konnector is installed, the account is deleted,
    13  the stack runs the konnector with the AccountDeleted flag, and when it's
    14  done, the konnector is uninstalled again.
    15  
    16  
    17  ```
    18  cozy-stack fix orphan-account <domain> [flags]
    19  ```
    20  
    21  ### Options
    22  
    23  ```
    24    -h, --help   help for orphan-account
    25  ```
    26  
    27  ### Options inherited from parent commands
    28  
    29  ```
    30        --admin-host string   administration server host (default "localhost")
    31        --admin-port int      administration server port (default 6060)
    32    -c, --config string       configuration file (default "$HOME/.cozy.yaml")
    33        --host string         server host (default "localhost")
    34    -p, --port int            server port (default 8080)
    35  ```
    36  
    37  ### SEE ALSO
    38  
    39  * [cozy-stack fix](cozy-stack_fix.md)	 - A set of tools to fix issues or migrate content.
    40