Set user permissions on display via api

Hello,

I need to change permissions of my users on displays using the api, but the documentation is not very clear about required parameters. I figured out how to use the GET request, but i have problems with the POST:

What am I supposed to set in groupIds array if i want to grant or remove View permission on a display? I tried a lot of things but I just keep getting a 200 status response with no changes in permissions…

Please help, i’m really stuck on this :confused:

Hi,

You can find how to do it on post at link below. Also be sure to use displayGroupId and not the displayId of the device and as entity again use displayGroupId.