SAP Knowledge Base Article - Public

3499832 - Delete Method is Not Available in Document Service API

Symptom

The REST API for document service does not include Delete operation for SAP Service and Sales Cloud v2 system.

Environment

  • SAP Service Cloud v2
  • SAP Sales Cloud v2

Reproducing the Issue

  1. Access the REST API documentation for document service: https://api.sap.com/api/SalesSvcCloudV2_documentService/resource/Document
  2. Attempt to find a method for deleting documents.
  3. Observe that there is no delete service available in the document service REST API.

Resolution

The delete operation for document service is not allowed via our REST API due to security reasons. This action can be done in the UI, by following below steps:

  1. Open left menu.
  2. Navigate to the entity view (e.g. cases).
  3. Open the record.
  4. Under General tab, scroll down to Attachments section.
  5. Hoover the mouse over the attachment and click on delete button.

See Also

Document Service API

Keywords

Document, Service, API, Delete, Remove, REST, CNS, Attachment , KBA , CEC-CRM-DOS , Document Service for SAP Sales/Service Cloud , How To

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0