Jump to content

Cli/ref/mw gitlab ssh-key delete

From mediawiki.org
< Cli | ref

mw gitlab ssh-key delete

[edit]

Deletes a single SSH key specified by the ID.

mw gitlab ssh-key delete <key-id> [flags]

Examples

[edit]
# Delete SSH key with ID as argument
$ glab ssh-key delete 7750633

# Interactive
$ glab ssh-key delete

# Interactive, with pagination
$ glab ssh-key delete -P 50 -p 2

Options

[edit]
  -p, --page int       Page number (default 1)
  -P, --per-page int   Number of items to list per page (default 30)

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]