Deletes the comparison with the given GUID. If the comparison specified by GUID does not exist, the server responds with HTTP error code 404. If the current user is not the owner of the comparison, the server responds with HTTP error code 403.
Permanently deletes the specified comparison.
| REQUEST Parameter | Value | Description |
|---|---|---|
format | html | Defines the type of the response. |
| json (Default) |
# Request # Use user:password for authorization GET /api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/json Content-Length: <CONTENT LENGTH> {"isDeleted":true}
# Browser access: use the following URL http://127.0.0.1:9900/api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete # Shell access using curl curl -Lsu <USERNAME>:<PASSWORD> 'http://127.0.0.1:9900/api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete'