You are here: Foswiki>Main Web>XmlEngine>DeleteOperation (revision 5)EditAttach

DELETE Operation

The DELETE operation removes objects. An object ID is required to use this operation. Only the main object and its ID need to be specified. Child objects are ignored.

Sample:

Request XML
<request version='1.0'>
  <header>
    <office/>
    <user/>
    <password/>
  </header>
  <delete>
    <Contact id="Contact.1.28"/>
  </delete>
</request>

Response XML
<response version="1.0">
  <header>
    <sessionClosed/>
  </header>
  <delete>
    <Contact _status="deleted" _type="obj" id="Contact.1.28"/>
  </delete>
  <_status>OK</_status>
</response>



Edit | Attach | Print version | History: r6 < r5 < r4 < r3 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: 11 Dec 2012, dustin
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback