Skip to main content
Skip table of contents

deleteRequestItem

This method is used to delete an Item from a DocuFetch Request

Returns: Confirmation message. Success if it succeeds, otherwise returns error message.

String deleteRequestItem (Id requestItemId)

JAVA
// Delete Single Request Item
Id sampleRequestItemId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request item ID
String result = cg.DocuFetchTools.deleteRequestItem(sampleRequestItemId);
System.debug('Delete result is: ' + result);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.