Web Service Method: Delete Custom Ontology
Abstract
Web Service Method: Delete Custom Ontology
Description  | 
|---|
Delete a custom ontology.  | 
Note
This service is the equivalent to the PoolParty frontend functionality Import, Export & Publish Schemes and Ontologies
URL: /PoolParty/api/schema/deleteOntology
Note
You can only delete ontologies that are not used by any custom scheme.
Request
Supported Methods  | 
|---|
DELETE  | 
Parameter  | Comment  | Type  | Required  | 
|---|---|---|---|
uri  | URI of the custom scheme you want to delete.  | URI  | true  | 
Response
Response code 204 in case of successful deletion.
URL Pattern
Basic pattern
DELETE http://<server-url>/PoolParty/api/schema/deleteOntology?uri=<customScheme-uri>
Examples
Example Request
DELETE https://nextrelease.poolparty.biz/PoolParty/api/schema/deleteOntology?uri=http://nextrelease.poolparty.biz/delete-test-ontology