Deleting Usages
From API Documentation
This use case illustrates how to delete usage objects programmatically from an account.
To delete a Usage object:
- Set the following fields:
- Specify the Type as Usage.
- Specify the usage object ids. Please note that anywhere from 1 to 50 ids nodes can be specified.
- Delete the usage. See the delete() API call.
The SOAP call envelope payload should look like the following:
<ns1:delete> <ns1:type>Usage</ns1:type> <ns1:ids>4028e699235ea4de0123778131fd5d69</ns1:ids> </ns1:delete>
Please note that if more usage ID need to be specified, the SOAP call envelope payload should look like the following:
<ns1:delete> <ns1:type>Usage</ns1:type> <ns1:ids>4028e699235ea4de0123778131fd5d69</ns1:ids> <ns1:ids>4028e699235ea4de0123778131125d6a</ns1:ids> </ns1:delete>
