OpO FAST Triple Store, Web Server, and JSON Database
OpO

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.

Individual Tree Deletion

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:

http://www.example.com/tree/my-tree http://www.example.com/tree/000000000000050f

Multiple Tree Deletions

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:

http://www.example.com/tree