Sidebar

api:usergroup:delete

Table of Contents

delete()

Available since version: 1.8
This function allows you to delete information about one or several user groups.

Parameters

ParameterTypeOptionalDescriptionDetails
usrgrpidsarray Array of User Group IDs

Returns

ParameterDescription
resultOperation successful. Result will contain array of deleted User Group IDs.
errorIn case of any errors

Example

{
"jsonrpc":"2.0",
"method":"usergroup.delete",
"params":["107824", "107825"],
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}

User Groups deleted successfully:

{
"jsonrpc":"2.0",
"result":{
   "usrgrpids": ["107824", "107825"]
},
"id":2
}