Forum Discussion
SamAlbertCSM
10-31-2023Sisense Employee
This is a POST API, which are designed to only add, not modify or delete, data on a server. This is true and makes sense for the use case, data security rules should be granular enough to allow users to see distinct values in a columnHowever, this line If exact same shares array exits for table and column, then rule will be overwritten was meant to be deleted from the swagger docs. We are still checking internally here but If you want to implement this behavior, they need to leverage either the following apis in their workflow
PUT /elasticubes/live/datasecurity/{dataSecurityId}
or
DELETE /elasticubes/live/datasecurity/{dataSecurityId}