Location: /services/webservices/system/admin/resource/operations/ (or) Composite Data Services/Web Services/system/admin/resource/operations/
Configure the Request Elements as below to delete a published Resource: path : A source path of the resource to be destroyed.
type : Specify the type as LINK
force: If 'true', attempt to destroy as many resources as possible. If 'false', do not destroy any resource if there exists at least one that is not destroyable.
Example for reference:
<resource:destroyResource xmlns:resource="http://www.compositesw.com/services/system/admin/resource">
<resource:path>/services/databases/composite_view/CompositeView</resource:path>
<resource:type>LINK</resource:type>
<resource:force>true</resource:force>
</resource:destroyResource>
Response Elements: destroyedAll: If TRUE, all of the resources were completely destroyed, including the contents of containers; otherwise FALSE.