Forum Discussion

Former Member's avatar
Former Member
4 years ago

Archive Object using API

Good morning,

I've got a working API setup for dealing with system passwords, but I need to be able to archive them after they are no longer used. I can find a delete option in the API, but is there an archive function? or do I just need to modify the status field to archive?

I'm a little confused on this one, so any assistance will be greatly appreciated.

Thanks
Jonathon Page


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

1 Reply

  • Former Member's avatar
    Former Member

    Hey!

    Thank you for bringing this up. Connect currently only supports handling non-deleted and non-archived items. I have filed an issue to add support for archiving items through Connect.

    In the meantime, our CLI https://developer.1password.com/docs/cli/reference/management-commands/item#item-delete to archive items.

    Cheers,

    Joris