Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

sal65535's avatar
sal65535
New Contributor
5 hours ago

Can't delete tags from CLI

1Password CLI version 2.30.3
1Password client version 8.10.60 for Linux (PRODUCTION channel)

When trying to overwrite items tag from the op command, the below unexpected behavior happens.

# Getting the edit subcommand help
op item edit --help

...
  -h, --help                         help for edit
      --reveal                       Don't conceal sensitive fields.
      --tags tags                    Set the tags to the specified (comma-separated) values. An empty value will remove all tags.
      --template string              Specify the filepath to read an item template from.
...

# Tags are not removed
op item edit 'Test Tag CLI' '--tags='

# Tags are not removed
op item edit 'Test Tag CLI' --tags='empty'

# Tags are not removed
op item edit 'Test Tag CLI' --tags ""

# Tags are not removed
op item edit 'Test Tag CLI' --tags null

# Tags are not removed
op item edit 'Test Tag CLI' --tags=null

How can I perform the tags deletion from 1Password CLI?

No RepliesBe the first to reply