how can we get item UUID from a vault using API?

ShazShaz
Community Member

I am automating the create/Delete/Update of items using the API of connect-server.
https://{url}/v1/vaults/{vaultId}/items/{itemUUID}
But for deleting an item we need to pass the Item UUID in the API.
Can we get the Item UUID using the Title of the Item or by any other way through API?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Referrer: forum-search:how can we get item UUID from a vault using API

Comments

  • Scott.S_1PScott.S_1P

    Team Member

    Hey Shaz,

    Good question! Lots of the Connect API does need an items UUID, but in this case you may be able look up the item by listing all items in a vault, while specifying a filter for the item's title. Check out List Items - 1Password Connect Server API reference Developer Documentation and the filter query parameter. Once you get the UUID there, you could then use that for deleting the item with another API call.

    I hope this information helps. Be sure to let me know if you have any further questions!

Leave a Comment

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