Assigns a role to multiple users.
Set to true to assign the user to the role. Set false to remove the role from the user.
true
false
TypedId of the role you want to assign or revoke. Either typedId or uniqeName is required.
TypedId
typedId
uniqeName
uniqueName of the role you want to assign or revoke. Either typedId or uniqeName is required.
uniqueName
The list of users' typedIds or loginName. Can be mixed.
loginName
OK
{"data": {"assign": true,"typedId": "8.R","uniqueName": "DASHBOARDADMIN","users": ["2147491023.U","john.doe"]}}
{"response": {"node": "string","data": null,"status": 0}}