# Delete an import

`DELETE https://api.cademi.com.br/api/v3/imports/{import_id}`

Operation ID: `imports.delete` · API v3

Moves the import to the trash. Only imports that have not been processed can be deleted.

Deleting an import does not undo its effects: rows already queued for processing continue, and enrollments already granted remain in place.

Required permissions: `imports.delete`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `import_id` | path | string | yes |  |

## Responses

### 204

The import was moved to the trash.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The import was not found or is not accessible with the current credentials.

Body: Error.

### 409

The import has already been processed and cannot be deleted (state_conflict).

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
