Skip to main content
January 31, 2023
Question

path/update item

  • January 31, 2023
  • 1 reply
  • 133 views

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:https://1password.community/search?Search=update

1 reply

Jack_P_1P
1Password Employee
1Password Employee
February 10, 2023

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