Change Administrator Group Parameters

Request Parameters

Parameter

Description

Mandatory

description

Administrator group description

no

id

ID of administrator group, parameters of which will be changed

yes

name

Administrator group name

no

 

Request Example

https://192.168.1.1:9081/api/admingroups/change.ds?id=adm3&name=456&description=description

XML and JSON response structure examples are described below.

 

XML Response Structure

<drweb-es-api api_version="4.3.0" timestamp="1582030255" server="192.168.1.1" srv_version="13.00.0.202005090" status="true">
  <admin-group id="adm3"/>
</drweb-es-api>

 

Description of XML Response Parameters

The <admin-group /> element contains ID of administrator group, parameters of which have been changed.

The <admin-group /> element attribute:

Attribute

Description

id

Group ID

 

JSON Response Structure

{ "head": {
    "status": true,

    "timestamp": 1588502426,

    "api": {
      "version": 40300,
      "versionString": 4.3.0},

    "server": {
      "name": "192.168.1.1",

      "version": "13.00.0.202005090",
      "uuid": "78b77680-8080-11ea-701a-44a527d9115c"}},

"data": {
    "id": "adm3"}}

 

Description of JSON Response Parameters

The data block contains ID of administrator group, parameters of which have been changed.

The data block element:

Field name

Description

id

Group ID