REST API - deleteResource - Using Body Parameter

The table summarizes the REST API - deleteResource when passing GUIDs in the body.

Request

Format
POST <baseurl>/orgresource/delete
Body deleteResource element (required) A collection of GUIDs identifying the resources to be deleted. Can be obtained using listCandidateResources by passing in either "ALL" or "EXISTING" in the include attribute.

Response

JSON Returns a JSON representation of the content of the deleteResourceResponse element.
XML Returns the content of the deleteResourceResponse element (from the OrgResourceService schema).

Example

Request
POST <baseurl>/orgresource/delete
Request Body
{"guid": [
    "D49BD49D-E96E-4FBB-BAA3-3E70CC162979" ,  "81B47972-0DFF-4697-814E-3B1037D00632"
 ]}
Response
{"xml-fragment": {"guid": [
   "D49BD49D-E96E-4FBB-BAA3-3E70CC162979",
   "81B47972-0DFF-4697-814E-3B1037D00632"
]}}