Skip to main content

Delete or expire all documents

DELETE 

/pipelines/:pipeline_id/documents

Deletes or expires every document in a pipeline. Without expire, the operation permanently removes every version and every fragment and returns status 204. With expire=true, the operation marks every current version as expired and returns status 200.

Permissions. Write and execute on the pipeline, and an allow-list that includes every classification of the pipeline.

Documents, versions and fragments compares expiry and deletion.

Request​

Responses​

The documents were expired (expire=true). The body is empty.