Skip to navigation

Delete a Batch Export

View as MarkdownOpen in Claude

Permanently deletes an export job and, if it completed, its ZIP archive. Deletion is immediate and cannot be undone — to get the data again, request a new export.

An export that is still generating cannot be deleted; wait for it to reach complete or failed first. Deleting frees up a slot toward the per-batch export job cap, and the job is immediately excluded from GET /batches/{batch_id}/export.

Only researchers with workspace access to the batch can delete its exports.

Authentication

AuthorizationToken

The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings.

Your API token does not have an expiry date and carries full permission, so be sure to keep them secure.

If your token is leaked, delete it and create a new one directly in the app.

In your requests add Authorization header with the value Token <your token>.

Path parameters

batch_idstringRequired
export_idstringRequired

Response

Export deleted

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error