The HTTP REST tree delete API provides the ability to delete one tree or multiple trees. Individual trees can be deleted by name or blank node identifier. All trees can be deleted by not specifying a name or node identifier.
Deletes use the DELETE HTTP method. Any other finer grain deletes should use the TQL HTTP API.
A DELETE with a URL that includes a tree identifier is used to delete a tree. The identifier can be either the name of a tree or the node identifier for the tree top node. There are no options for the delete operation.
Examples of a DELETE URL for a specific tree are:
A DELETE with a URL that does not includes a tree identifier is used to delete all trees in the database.
Examples of a DELETE URL for a multiple tree deletions are: