Delete
Deletes an object.
Syntax
<Delete type="ObjectType">
<ObjectType>
<id>internalID</id>
</ObjectType>
</Delete>
Usage
Use the Delete command to delete an object based with a specific internal ID. The maximum number of objects you can delete with one XML API call is 1,000.
Arguments
|
Name |
Type |
Description |
|---|---|---|
|
|
|
The object to be deleted. Object properties must include the object internal ID [ |
Response
-
Successif the object with internal IDidwas found and deleted. -
Failureif the object with internal IDidwas not found. -
A list of objects if the object with internal ID
idwas found but has dependencies. All dependent objects (objects referencing theObjectTypeobject by internal ID) must be deleted before you can delete theObjectTypeobject. Properties for the listed objects include only the internal ID [id].