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