Reference: Delete Export Report
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'RemoveExport', data: { id: 'YOUR_EXPORT_ID', type: 'cancel' } }).then(({ cancel }) => { if (cancel) { console.log('Export cancelled successfully!'); } else { console.log('Oooops! Can\'t cancel export.'); } }); Copy
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'RemoveExport', data: { id: 'YOUR_EXPORT_ID', type: 'cancel' } }).then(({ cancel }) => { if (cancel) { console.log('Export cancelled successfully!'); } else { console.log('Oooops! Can\'t cancel export.'); } });
Reference: Delete Export Report
Example