DeleteDeviceGroup

Delete a device group. Devices in the group are not deleted from the account, but are moved to the Default device group.

Request Parameters

Parameter Type Description
AccountName
required
string The Verizon billing account that the device group belongs to. An account name is usually numeric, and must include any leading zeros.
GroupName
required
string

The name of the device group that you want to delete.

You cannot delete the Default device group.

Response Parameters

An empty response indicates that the device group was deleted successfully.

Example SOAP Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:v2="http://nphase.com/unifiedwebservice/v2"
  xmlns:nph="http://schemas.datacontract.org/2004/07/NPhase.UnifiedWebService.APIs.v2.Contract.DeviceGroupService">
  <soapenv:Header>
    <v2:token>91bd36d3-a063-4600-928b-bb57eeccb9ac</v2:token>
  </soapenv:Header>
  <soapenv:Body>
    <v2:DeleteDeviceGroup>
      <v2:Input>
        <nph:AccountName>Account Name</nph:AccountName>
        <nph:GroupName>demo</nph:GroupName>
      </v2:Input>
    </v2:DeleteDeviceGroup>
  </soapenv:Body>
</soapenv:Envelope>

Example SOAP Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <DeleteDeviceGroupResponse xmlns="http://nphase.com/unifiedwebservice/v2">
      <Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:a="http://schemas.datacontract.org/2004/07/NPhase.UnifiedWebService.APIs.v2.Contract.DeviceGroupService" />
    </DeleteDeviceGroupResponse>
  </s:Body>
</s:Envelope>

Request Schema Diagram

Response Schema Diagram