Manage group permissions with APIs

Hi @Soti,

I wanted to ask if it is possible to create and manage device group permissions with APIs. The background is that a customer has about 140 folders and he needs now certain permissions in each subfolder for a usergroup. Doing this manually about 140 times would be very time-consuming. 

Like described here:

http://www.soti.net/mc/help/v14.0/en/console/devices/managing/groups/groups.html?hl=permission

If someone knows that this is possible could I have an example how to create a device group and give user group permissions for this device group? 

Many thanks in advance.

Best regards, 

Sven

5 years ago
SOTI MobiControl
ANSWERS
J
JVMOD@SOTI
5 years ago

Hello Sven,

Thank you for your post, yes you can achieve this using API exposed by MobiControl. Following is the URL for accessing API section

https://*enter your instance name*/MobiControl/api

Following is the API used to give permissions

PUT /security/users/{userName}/group/{path}/rights

Implementation Notes

Replaces the device group permissions for a given user with those defined. Requires the caller be granted the "Manage User Security" permission.

(Available Since MobiControl v14.0.0)

Please let me know you have any questions or concerns.

Regards,