Delete Group

Top  Previous  Next

Request Parameters

Parameter

Description

Mandatory

id

Group identifier.

This parameter can be defined in the request several times to delete multiple groups at a time.

yes

Request Example

Response Documents Structure

XML response.

JSON response.

XML Response Structure

<drweb-avdesk-api api_version="4.1.3" timestamp="1391503301" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">

<groups total="1">

<group id="4"/>

</drweb-avdesk-api>

Description of XML Response Parameters

The <groups /> element contains information about all deleted groups.

The <groups /> element attributes:

Attribute

Description

total

Total number of groups deleted

The <group /> element contains information about a specific deleted group. Number of the <group /> elements corresponds to the number of deleted groups.

The <group /> element attributes:

Attribute

Description

id

Group identifier

JSON Response Structure

{   "head": {

      "status": true,

      "timestamp": 1395735077,

      "api": {

          "version": 40103

      },

      "server": {

          "name": "192.168.1.1",

          "version": 1000201707130,

          "uuid": "1023dcd7-d11d-b211-896d-8804c0842edb"}},

  "data": {

      "groups": {

          "total": 2,

          "list": [

              {"id": "2"},

              {"id": "5"}]}}}

Description of JSON Response Parameters

The groups block contains information about all deleted groups.

The groups block elements:

Field name

Description

total

Total number of groups

The list array contains information about a specific deleted group.

Elements in the list array:

Field name

Description

id

Identifier of deleted group