SetPermsRequest Data Type

Request to set permission bits

Properties
name data type constraints description
perm string   Permission bits and roles
groupId number required int ID of the group
subGroups boolean required boolean True to set permissions also to subgroups, false for only the given group
subObjects boolean required boolean True to set permissions also for subobjects, false for only the given object
roleIds array of number   The role IDs of roles that should be set when the request is completed. All roles not mentioned are removed. If not set, no changes to the roles will be performed.

Example

{
  "perm" : "...",
  "groupId" : 12345,
  "subGroups" : true,
  "subObjects" : true,
  "roleIds" : [ 12345, 12345 ]
}