Delete()

delete
The delete method is used to delete one or more records. Currently, the system limits the user to deleting100 records in a single call.

Arguments
object: The name of the object to delete. keys: A comma separated list of records to delete.

Return
The delete method returns success or error messages.

Delete a collection of custom objects
&lt;function controlid="foobar"&gt; &lt;delete&gt; &lt;object&gt;api_test_record&lt;/object&gt; &lt;keys&gt;41141,41143&lt;/keys&gt; &lt;/delete&gt; &lt;/function&gt;

Delete a collection of standard objects
&lt;function controlid="foobar"&gt; &lt;delete&gt; &lt;object&gt;vendor&lt;/object&gt; &lt;keys&gt;Unit - A-1207,Unit - A-1208&lt;/keys&gt; &lt;/delete&gt; &lt;/function&gt;