Jump to content

Multiple occurrences of a security group on list when using API


Recommended Posts

When using API "Invoke-Restmethod -Method Post -Uri $PasswordstateURL'/passwordlistpermissions' ...." i get multiple occurrences of the security group if the security group already exists on the password list when running the method.


"Invoke-Restmethod -Method Put -Uri $PasswordstateURL'/passwordlistpermissions' ...." does not add permissions. Only modify if they exists and are different.


What am I doing wrong?


I am expecting that POST add permission if missing and updates permissions if already present.


We are on V9.6 (Build 9611).




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...