Summary
Allow the SDK/API to create shares of items.
Use cases
The use case is self-explanatory. If it was possible to share the item via API, as in, configuring expiration timers, adding emails, etc. and getting the link you can automate any process that requires sharing credentials/TOTP. This can be useful in many scenarios:
- Provisioning user accounts
- Automatically sharing created credentials with customers/third parties/employees
- Increasing reliability of processes that depend on temporary credentials that include TOTP
- etc.
Proposed solution
That is an API design choice. But perhaps extend the /item/ endpoint to include a /item/{itemID}/share where a GET request can recover the share information of the item, a POST allows to creation of the share and a PATCH allows to change of an active share and a DELETE removes the share from the item.
Is there a workaround to accomplish this today?
Not that I'm aware of. If there is I would be interested to know.
References & Prior Work
1Password already has the feature, it isn't accessible via API.
Summary
Allow the SDK/API to create shares of items.
Use cases
The use case is self-explanatory. If it was possible to share the item via API, as in, configuring expiration timers, adding emails, etc. and getting the link you can automate any process that requires sharing credentials/TOTP. This can be useful in many scenarios:
Proposed solution
That is an API design choice. But perhaps extend the
/item/endpoint to include a/item/{itemID}/sharewhere aGETrequest can recover the share information of the item, aPOSTallows to creation of the share and aPATCHallows to change of an active share and aDELETEremoves the share from the item.Is there a workaround to accomplish this today?
Not that I'm aware of. If there is I would be interested to know.
References & Prior Work
1Password already has the feature, it isn't accessible via API.