Skip to main content
POST
Delete Import Rows

Delete Import Rows

Remove specific rows from an import session before submission. Use this when rows cannot be corrected and should be excluded from the import. You can delete individual rows by index or remove all error rows at once.
Deleted rows are physically removed and cannot be recovered. The row indices of remaining rows are not renumbered.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the import sessionExample: "11111111-1111-1111-1111-111111111111"

Body Parameters

array[integer]
Zero-based indices of rows to delete (max 10,000). When null and delete_all_errors is false, no rows are deleted.
boolean
default:"false"
When true, delete all rows that have validation errors, regardless of row_indices.

Response

integer
Number of rows that were deleted
integer
Total rows remaining after deletion
integer
Valid rows remaining
integer
Error rows remaining (0 if delete_all_errors was used)

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The import session does not exist or belongs to another organization

Patch Rows

Fix rows instead of deleting them

Get Import Rows

Review rows before deletion

Submit Import

Submit after cleaning up errors