Delete a Section

You can delete a section using the DELETE method on the sections endpoint. You need a token with write privileges, otherwise a 401 or 403 will be sent back.

Selecting an section 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 section at a time.

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

Further reference

The reference for the REST API is documented here.