Oracle CRM On Demand REST API Developer's Guide > Using the Oracle CRM On Demand REST API > Working with Resource Attachments >

Removing Attachments


The Oracle CRM On Demand REST API supports the ability to remove attachments on the Oracle CRM On Demand Server Using the DELETE HTTP method.

The following details are for a request to remove an attachment on the Oracle CRM On Demand Server:

  • URL: https://<host>/OnDemand/user/Rest/latest/CustomObjects8/1QA2-1S4YSD/enclosure/Attachment
  • HTTP Method: DELETE
  • Content-Type: None
  • Request body: None

The following are the details for the response to a successful request:

  • HTTP Code: 204
  • Content-Type: None
  • Location: https://<host>/OnDemand/user/Rest/latest/CustomObjects8/1QA2-1S4YSD/enclosure/Attachment
  • Response body: None
Oracle CRM On Demand REST API Developer's Guide, Release 34 Revision A Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.