Use the method DeleteObject
Zaid Abdulla
zaid at genieacs.com
Fri May 22 19:22:16 EDT 2015
On Thu, May 21, 2015, at 02:44 AM, sclark at tpg.com.au wrote:
> curl -i
> 'http://localhost:7557/devices/011-WUII-EUS0987877712/tasks?connection_request'
> \
> -X POST --data '{"name":"deleteObject",
> "objectName":"InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1"
> }'
>
> What would the object and preset look like in the GUI to do something
> similar?
Using presets you cannot delete an object by its instance number. This
is intentional because instance numbers are arbitrary and may be
different for different devices. You need to create an object template
and have some parameters marked as keys. The remote object preset config
will delete instances which have parameters that match the keys of the
specified object template.
Zaid
More information about the Users
mailing list