deleteDeviceGroup Operation

With deleteDeviceGroup operation you can delete an existing device group.

Request Parameters

authToken, deviceGroupName

Response

deviceResponse (see deviceGroupResponse Type)

Example

SOAP request for deleteDeviceGroup Operation:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dev="DeviceGroupService">
   <soapenv:Header/>
   <soapenv:Body>
      <dev:deleteDeviceGroup>
         <!--Optional:-->
         <dev:authToken>admin/admin123</dev:authToken>
         <!--Optional:-->
         <dev:deviceGroupName>local_dg1_update</dev:deviceGroupName>
      </dev:deleteDeviceGroup>
   </soapenv:Body>
</soapenv:Envelope>

SOAP response for deleteDeviceGroup Operation:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:deleteDeviceGroupResponse xmlns:ns="DeviceGroupService">
         <ns:return xsi:type="ax211:DeviceGroupResponse" xmlns:ax211="http://devicegroup.services.logapp.loglogic.com/xsd" xmlns:ax212="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ax212:authToken xsi:nil="true"/>
            <ax212:resultCount>1</ax212:resultCount>
            <ax212:statusCode>2000</ax212:statusCode>
            <ax212:statusMessage>Deleted device group local_dg1_update successfully - 1</ax212:statusMessage>
            <ax212:summaryOnly>false</ax212:summaryOnly>
            <ax211:resultSet xsi:type="ax211:DeviceGroupDetail">
               <ax211:description>update</ax211:description>
               <ax211:deviceGroupName>local_dg1_update</ax211:deviceGroupName>
               <ax211:devices xsi:nil="true"/>
               <ax211:enabled>enabled</ax211:enabled>
               <ax211:groupType>local</ax211:groupType>
            </ax211:resultSet>
         </ns:return>
      </ns:deleteDeviceGroupResponse>
   </soapenv:Body>
</soapenv:Envelope>