Skip to main content

When API endpoints are changed, how often will this be? With the last big update BI had, some endpoints were depracated. I am curious how often this is going to happen? APIs have become very popular in our environment and alot of our scripts are breaking with these changes. 

Ex.) In BeyondInsight/Password Safe 24.3, "UserGroupId" has been deprecated.

I know the word “Safe” was also replaced with “Folder”. 

Hello Kimberley,

In 24.3 there were some major changes to the way permissions are leveraged in Secrets Safe. Previously, ownership of secrets was set to either users or the entire group that owned the team folder. Secrets can now be owned by both users and groups at the same time. Additionally, ownership supersedes any safe-level permissions for any owned secret as long as the user has read access to that safe.

Because of this, there were some major changes to the API. As mentioned in our release notes BeyondInsight and Password Safe 24.3.0:

“Secrets Safe Secrets API Guide - OwnerId, OwnerType are deprecated. New parameters from "Owners" are being used instead.”

Within our Secrets Safe APIs documentation, it mentions “When OwnerType is set to User, then a list of Owners is required. When OwnerType is set to Group, the OwnerId is required (as the GroupId).”

Therefore, if you are continuing to use Groups, given the above information I would expect the ‘OwnerType’ needs to be defined before you can define GroupID within the Owners parameters.

Regards,

MikeM


Reply