Revert a data import

Requests the cancellation of a finished import: publishes a data-import-reverted event, which downstream consumers process asynchronously to undo the import (the record's revertedAt / revertedBy reflect a completed revert). Returns 202 Accepted with no body.

Authorization: requires the data_import:import scope and the caller must be an agency owner or an agency admin. The record must belong to the caller's tenant.

Errors: 400 if the record does not exist, was already reverted, or is not finished yet (status other than PROCESSED / FAILED); 403 if the provider does not allow cancellation (cancelAllowed: false) or the caller lacks the scope/role.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

ID (UUID) of the data import record to revert

Responses
202

The revert was requested and will be processed asynchronously

400

Unknown record, already reverted, or import still in progress

403

Missing scope, caller is not an agency owner/admin, or the provider does not allow cancellation

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here!