Delete a Model Structure

You can delete a model structure (a component) using the DELETE method on the modelstructure-for-component endpoint. You need a token with write privileges, otherwise a 401 or 403 will be sent back.

Selecting a component to delete is done with the same parameters as the GET endpoint.

In order to avoid massive deletions by mistake, you can only delete one component at a time.

DELETE http://host.28.io/v1/_queries/public/api/modelstructure-for-component?token=c3049752-4d35-43da-82a2-f89f1b06f7a4&aid=foobar§ion=http://www.example.com/&hypercube=foo:Hypercube

Further reference

The reference for the REST API is documented here.