Skip to main content

Delete an RO-Crate

DELETE 

/ro-crate/:id

Optional core — provided when deposit.supported is true. See the Deposits guide.

Delete an RO-Crate — its metadata document and files. Deletion is not a deposit session; it is already atomic. Implementations needing slow teardown MAY return 202 Accepted.

The spec mandates no preconditions; implementations MAY refuse per their own policy (curatorial holds, cross-references) with 409 and a reason. The effect on materialised entities is implementation-defined, mirroring re-deposit pruning: an entity no other RO-Crate contributes to MAY be removed, and deliberate retention is legitimate. An entity with other contributors survives — the deleted RO-Crate simply drops out of its roCrateIds.

Open deposits do not block deletion: delete wins, and a subsequent finalise of such a deposit fails back to open with the failure recorded. Implementations MAY auto-abort open deposits against the deleted RO-Crate.

After deletion, the RO-Crate's URIs (including /ro-crate/{id}/metadata) follow the implementation's declared tombstonePolicy.

Request

Responses

Accepted - deletion is proceeding asynchronously