DELETE Group/{id}
Delete a AssetGroup based on it's id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Internal Id to the Group |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AssetGroupRestResultName | Description | Type | Additional information |
---|---|---|---|
RestItems |
Collection of RestItem objects. |
Collection of AssetGroupRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "RestItems": [ { "Id": 1, "Name": "sample string 2", "GroupType": 3, "Devices": [ 1, 2 ], "Assets": [ 1, 2 ], "CompanyName": "sample string 4", "ClientHandle": "sample string 5" }, { "Id": 1, "Name": "sample string 2", "GroupType": 3, "Devices": [ 1, 2 ], "Assets": [ 1, 2 ], "CompanyName": "sample string 4", "ClientHandle": "sample string 5" } ] }
application/xml, text/xml
Sample:
<AssetGroupRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <RestItems> <AssetGroupRestItem> <Assets xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Assets> <ClientHandle>sample string 5</ClientHandle> <CompanyName>sample string 4</CompanyName> <Devices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Devices> <GroupType>3</GroupType> <Id>1</Id> <Name>sample string 2</Name> </AssetGroupRestItem> <AssetGroupRestItem> <Assets xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Assets> <ClientHandle>sample string 5</ClientHandle> <CompanyName>sample string 4</CompanyName> <Devices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Devices> <GroupType>3</GroupType> <Id>1</Id> <Name>sample string 2</Name> </AssetGroupRestItem> </RestItems> </AssetGroupRestResult>