Knowledge Center

Knowledge Center > API > SOAP API > SOAP API Object Reference > Usage > Delete Usage from an Account

Delete Usage from an Account

This use case describes how to delete Usage objects programmatically from an account.

Deleting a Usage Object

To delete a Usage object:

  1. Set the following fields:
    • Specify the Type as Usage.
    • Specify the usage object IDs. You can specify from 1 to 50 ID nodes.
  2. Delete the usage. See the delete() API call for more information.

SOAP Example

The SOAP call envelope payload should look like the following:

<ns1:delete>
 <ns1:type>Usage</ns1:type>
 <ns1:ids>4028e699235ea4de0123778131fd5d69</ns1:ids>
</ns1:delete>

If you need to specify additional IDs, 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>
Last modified
10:55, 21 Sep 2015

Tags

Classifications

(not set)