STRAZAdocs

strazactl disconnect

Remove a connection to a server: your own, or another user's with --user

On this page

Synopsis

Remove a connection to a server that gives each caller their own credential.

Straza forgets the credential at once, and the next call by that user to the server is refused until they connect again. strazactl connect lists the connections.

--user names an agent you sponsor, or any user when you are an administrator.

disconnect acts as a person with your strazactl login, so it refuses to run while STRAZA_API_TOKEN is set.

strazactl disconnect <server> [flags]

Options

      --user string   act for this user: an agent you sponsor, or anyone when you are an administrator

Options inherited from parent commands

      --server string   strazad base URL (overrides $STRAZA_SERVER and the server you logged into)

See also

Search documentation

Search page titles, commands, and article text.

↑ ↓ Choose resultEnter OpenEsc Close