1Password on Mastodon

path/update item

dgreebedgreebe
Community Member

We have setup the Connect server in Kubernetes and I am building powershell scripts to get and add items to my vaults.
I cannot figure out how to update an item.
For example adding more tags to an item.

Can someone assist me with that ?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
Referrer: forum-search:update

Comments

  • Jack.P_1PJack.P_1P

    Team Member

    Hi @dgreebe:

    Thanks for reaching out! To update the fields on an item, the patch operation would be used.

    Update a subset of item attributes

    If you're looking to update the tags on an item, they aren't exposed directly in the prior endpoint, so using a GET (to get the current state of the item), combined with a PUT and replacing the item entirely is your best bet. This won't change the UUID of the item.

    Replace an item

    Let me know how you get on with that!

    Jack

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file