Deleting user groupsΒΆ

The delUsergroups action deletes user groups. It has an additional field:

json

An array of usergroups. Each entry contains the name or ID of the usergroup to be deleted.

Expected JSON object:

{
 "delUsergroups": [
     3,
     "My Usergroup"
 ]
}

Field

Description

delUsergroups

An array of responses for each user group that Plixer Scrutinizer attempted to delete

id/name

The usergroups_id or exact name of the user group to be deleted

JSON object returned:

{
 "data":[
     "Deleting usergroup named '3' (1 matched)",
     "Deleting usergroup id My Usergroup (0 matched)"
 ]
}

Field

Description

data

An array of responses for each usergroup that Plixer Scrutinizer attempted to delete.

Example API call:

curl --location --insecure --request POST '{{scrutinizer}}/fcgi/scrut_fcgi.fcgi' \
 --form 'authToken={{authToken}}' \
 --form 'rm=user_api' \
 --form 'action=delUsergroups' \
 --form 'json=
 {
     "delUsergroups": [
         3,
         "My Usergroup"
     ]
 }'