E-File Magic

Imports

Delete an import

Remove an import submission when its current state allows deletion.

POST
/api/v1/imports/submissions/delete
Authentication
OAuth 2.0 access token
Required scopes
imports.writeimports.delete
Idempotency key
Required
Rate-limit cost
5 units

How to use this endpoint

Read the submission first. Deletion is subject to its current processing state and your connection's delete permission.

Retrying a request? Keep the same idempotency key and body after an uncertain result. A different key can repeat the action.

cURL request
curl --request POST 'https://api.efilemagic.com/api/v1/imports/submissions/delete' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Idempotency-Key: <unique-operation-key>' \
  --header 'Content-Type: application/json' \
  --data-binary @request.json

Replace placeholders with your own values. Use the API resource origin provided for your environment.

Create request.json using the documented fields. Field descriptions are not sample values.