STRAZAdocs
Markdown

strazactl disconnect

Remove a user's connection to a server

On this page

Synopsis

Remove another user’s 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 --user lists the connections.

strazactl runs on an admin API token, which is no user, so --user names the user whose connection goes, and the command refuses to run without it. The token needs apps:write. A person removes their own connection with straza disconnect, or on the Credentials tab of the self-service page at /self-service/credentials.

strazactl disconnect <server> --user <name> [flags]

Options

      --user string   the user whose connection goes (required)

Options inherited from parent commands

      --server string   strazad base URL (overrides $STRAZA_SERVER)

See also

Search documentation

Search page titles, commands, and article text.

↑ ↓ Choose resultEnter OpenEsc Close