Delete All

Deletes every comparison the user has access to. Due to being a dangerous operation, the user has to be a member of the administrators group.

GET /api/comparison/deleteall

Permanently deletes the specified comparison.

# REQUEST
# Use user:password for authorization
GET /api/comparison/deleteall HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
#RESPONSE
HTTP/1.1 200 OK

Application Example

# Browser access: use the following URL
http://127.0.0.1:9900/api/comparison/deleteall
 
# Shell access using curl
curl -Lsu <USERNAME>:<PASSWORD> 'http://127.0.0.1:9900/api/comparison/deleteall'