Forum Discussion

jgranger's avatar
jgranger
New Contributor
2 years ago

CLI share item error: You aren't authorized to access this resource.

I'm trying to share an item via cli for automation using a service account. I don't know if it needs more access or how to do that, if so. I can create and item, but then I get an error when I try to share it.

example: op item share billybob--vault='TestVault' --emails mailto:myemail@someplace.com --expiry 1h


1Password Version: 2.25.0
Extension Version: Not Provided
OS Version: Windows 11
Browser: Not Provided

1 Reply

  • jgranger's avatar
    jgranger
    New Contributor

    I can't edit my post but there's a typo between the username and --vault that I can't fix. This is not the issue, but I wanted to point it out.