Skip to main content
Skip table of contents

deleteRequest

This method is used to delete a DocuFetch Request.

Returns: Confirmation message. Success if the request is deleted. If it fails, returns the error message.

String deleteRequest (Id requested)

JAVA
// Delete a Request
Id sampleRequestId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request ID
String deleteResult = cg.DocuFetchTools.deleteRequest(sampleRequestId);
System.debug('Delete DocuFetch Request Result: ' + deleteResult);
JavaScript errors detected

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

If this problem persists, please contact our support.